summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorWolfram Sang2016-04-27 18:51:23 +0200
committerUlf Hansson2016-05-02 10:36:01 +0200
commit2c54506b769d0633aac8f0511ef23f76bedeec9e (patch)
treeac541b924314018e495ed655611c5a0d3b4d35cf /drivers/mmc/Kconfig
parentmmc: omap_hsmmc: Check if MMC slot name is passed in pdata (diff)
downloadkernel-qcow2-linux-2c54506b769d0633aac8f0511ef23f76bedeec9e.tar.gz
kernel-qcow2-linux-2c54506b769d0633aac8f0511ef23f76bedeec9e.tar.xz
kernel-qcow2-linux-2c54506b769d0633aac8f0511ef23f76bedeec9e.zip
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>
Diffstat (limited to 'drivers/mmc/Kconfig')
0 files changed, 0 insertions, 0 deletions