On Thu, Nov 07, 2013 at 08:06:11PM +0100, Sylvestre Gallon wrote: > +int > +rtsx_bus_width(sdmmc_chipset_handle_t sch, int width) > +{ > + struct rtsx_softc *sc = sch; > + > + return (rtsx_set_bus_width(sc, width));
rtsx_set_bus_width() currently never returns an error so you'll need to tweak it as well. I will test your diff on rtsx and sdhc.