CVSROOT: /cvs Module name: src Changes by: patr...@cvs.openbsd.org 2018/05/30 07:32:40
Modified files: sys/dev/sdmmc : sdhc.c sys/dev/fdt : imxesdhc.c Log message: Clear the DMA select bits in case we use PIO instead of DMA. Some SDHC controllers get confused if the ADMA bit is set even though we don't set the DMA enable flag. This can happen with the SDIO stack which uses PIO for 4 byte read/writes but DMA for larger transfers and thus switches from one mode to the other. ok kettenis@