Searched hist:"8 b7be8f2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mmc/core/ |
H A D | mmc.c | 8b7be8f2 Wed Jun 08 05:27:52 CDT 2016 Peter Griffin <peter.griffin@linaro.org> mmc: core: Only change mode if mmc_select_bus_width() is successful
mmc_select_bus_width() returns bus width (4 or 8) on success or zero if unsupported. So only change mode if setting the bus width is successful.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> 8b7be8f2 Wed Jun 08 05:27:52 CDT 2016 Peter Griffin <peter.griffin@linaro.org> mmc: core: Only change mode if mmc_select_bus_width() is successful mmc_select_bus_width() returns bus width (4 or 8) on success or zero if unsupported. So only change mode if setting the bus width is successful. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|