Thread (22 messages) flat view 22 messages, 6 authors, 2014-07-26

[PATCHv2] mmc: dw_mmc: change to use recommended reset procedure

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-05-13 08:46:52
Also in: linux-mmc, linux-samsung-soc

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help