Peter Maydell <peter.mayd...@linaro.org> writes: > The omap_mmc_reset() function resets its SD card via > device_legacy_reset(). We know that the SD card does not have a qbus > of its own, so the new device_cold_reset() function (which resets > both the device and its child buses) is equivalent here to > device_legacy_reset() and we can just switch to the new API. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > cc'ing Markus who was interested in conversions away from > the legacy API. As warned, the conversion patch itself is > not very interesting as the difficulty is all in confirming > that the device being reset has no qbuses...
The commit messsage makes this helpful. Thanks! I wonder whether we should add a hint to device_legacy_reset()'s comment.