diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-04-27 18:51:23 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-02 10:36:01 +0200 |
commit | 2c54506b769d0633aac8f0511ef23f76bedeec9e (patch) | |
tree | ac541b924314018e495ed655611c5a0d3b4d35cf /drivers/vhost/vhost.c | |
parent | db863d8966818d3af3e415b5f60fcfeceba803c6 (diff) | |
download | talos-op-linux-2c54506b769d0633aac8f0511ef23f76bedeec9e.tar.gz talos-op-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/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions