]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sanitize 'bus width' in debug output
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 29 Jan 2016 08:27:50 +0000 (09:27 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:02:56 +0000 (11:02 +0100)
commit14afb05e6b7c71a2af5e5a1309748e3ee6189d02
tree5c18426ec2d9b592a0e0933b95c9c36041a0f13f
parent8065bc37e4c3fbf04608d50abc2e5cf01f1dc23e
mmc: sanitize 'bus width' in debug output

The bus width is sometimes the actual bus width, and sometimes indices
to different arrays encoding the bus width. In my debugging case "2"
could mean 8-bit as well as 4-bit, which was extremly confusing. Let's
use the human-readable actual bus width in all places.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c