mmc: matsushita-common: Special case only select registers in 16bit
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 9 Apr 2018 18:47:31 +0000 (20:47 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:59 +0000 (23:11 +0200)
commit01c0151a36565c653043d08a826d62d5744e511a
tree51e756c0badb6e397060e75b9c7a3439dabd773a
parent8af6737d4572e6d23e43da500b93179ac2640e9c
mmc: matsushita-common: Special case only select registers in 16bit

There are only a few registerse used in the 16bit mode which are
32bit internally. Special-case only those in the IO accessors and
always write both halves. Any other register access is protected
from accidentally overwriting neighboring register.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/matsushita-common.c