[PATCHv2] mmc: dw_mmc: change to use recommended reset procedure
Arnd Bergmann
arnd at arndb.de
Tue May 13 01:46:52 PDT 2014
On Monday 12 May 2014 18:38:41 Sonny Rao wrote:
> +#ifndef CONFIG_MMC_DW_IDMAC
> + if (host->use_dma)
> + flags |= SDMMC_CTRL_DMA_RESET;
> +#endif
Can you change the above like this?
if (IS_ENABLED(CONFIG_MMC_DW_IDMAC) && host->use_dma)
flags |= SDMMC_CTRL_DMA_RESET;
That is generally considered the preferred style these days.
Arnd
More information about the linux-arm-kernel
mailing list