summary refs log tree commit diff
path: root/sound/mips
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-05-29 00:21:35 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-28 16:30:04 -0700
commit88cfedd0d7ab5ff047ac7eb8243fb9a69526fee7 (patch)
tree0d7d7f12b7e1124b22a9d894d100c4eb70ea40bb /sound/mips
parent806f66495e791eb349cd3ea286ee411bcf1df4d0 (diff)
downloadlinux-88cfedd0d7ab5ff047ac7eb8243fb9a69526fee7.tar.gz
net: ks8851: Use 16-bit writes to program MAC address
On the SPI variant of KS8851, the MAC address can be programmed with
either 8/16/32-bit writes. To make it easier to support the 16-bit
parallel option of KS8851 too, switch both the MAC address programming
and readout to 16-bit operations.

Remove ks8851_wrreg8() as it is not used anywhere anymore.

There should be no functional change.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Petr Stetiar <ynezz@true.cz>
Cc: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions