]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tegra: use correct accessor for misc ctrl register
authorLucas Stach <dev@lynxeye.de>
Tue, 22 Dec 2015 18:41:04 +0000 (19:41 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 5 Jan 2016 17:04:56 +0000 (18:04 +0100)
commit8d7cc259b55b807100441ab9773f24fa66385cfb
tree2ada0e93c31829041f83d1d605ff71a3de98c2c5
parent8d43f771cc05b6cf4157eab041bcb36361259733
mmc: tegra: use correct accessor for misc ctrl register

The misc control register is 32bit wide, the used readw/writew
accessors only mainipulate the low 16bit of this register. It
currently doesn't matter as all the bit changed are located in
the lower half, but together with the u32 variable used to hold
the contents of the register it is seriously confusing.

Switch to 32bit accessors to avoid any future breakage.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c