Simon Glass 542b5f8567 tegra: mmc: Set the bus width correctly
The driver currently does not reset bit 5 of the hostctl register even if
the MMC stack requests it. Then means that once a bus width of 8 is
selected it is not possible to change it back to 1. This breaks
'mmc rescan' which needs to start off with a bus width of 1.

The problem was surfaced by enabling CONFIG_DM_MMC_OPS on tegra. Without
this option the MMC stack fully reinits the driver on a 'mmc rescan'.
But with this option driver model does not re-probe a driver once it has
been probed once.

Fix the driver to honour the request.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Peter Chubb <peter.chubb@data61.csiro.au>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2017-06-20 09:47:59 -07:00
..
2017-06-01 07:03:10 -06:00
2017-06-09 20:25:16 +09:00
2017-06-05 11:02:30 -04:00
2016-12-01 13:51:57 +09:00
2016-10-09 21:36:27 -06:00
2016-10-09 21:36:27 -06:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2017-05-17 17:13:06 +08:00
2017-06-01 07:03:03 -06:00
2017-06-01 07:03:10 -06:00
2017-06-09 20:25:16 +09:00
2017-06-01 07:03:01 -06:00