mmc: tmio: give read32/write32 functions more descriptive names
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 27 Apr 2016 16:51:23 +0000 (18:51 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:36:01 +0000 (10:36 +0200)
commit2c54506b769d0633aac8f0511ef23f76bedeec9e
treeac541b924314018e495ed655611c5a0d3b4d35cf
parentdb863d8966818d3af3e415b5f60fcfeceba803c6
mmc: tmio: give read32/write32 functions more descriptive names

Looking at the backlogs, I am not the only one who missed that the above
functions do not read u32 from one register, but create a virtual u32
from reading to adjacent u16 registers (which depending on 'bus_shift'
can be up to 8 byte apart). Because this driver supports old hardware
for which we don't have documentation, I first wrongly assumed there was
a variant which had a few u32 registers. Let's give the functions more
descriptive names to make it more obvious what is happening.

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_pio.c