Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: musb: remove left-over after USB_TI_CPPI_DMA removal

Commit 32fee1df5110 ("usb: musb: remove unused davinci support") removes
the config USB_TI_CPPI_DMA, but misses some left-over references in
drivers/usb/musb/musb_dma.h.

Remove the left-over dependent on this removed config.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20221031085426.17175-1-lukas.bulwahn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lukas Bulwahn and committed by
Greg Kroah-Hartman
d119cd95 83045e19

+3 -10
+3 -10
drivers/usb/musb/musb_dma.h
··· 61 61 #define musb_dma_cppi41(musb) 0 62 62 #endif 63 63 64 - #ifdef CONFIG_USB_TI_CPPI_DMA 65 - #define musb_dma_cppi(musb) (musb->ops->quirks & MUSB_DMA_CPPI) 66 - #else 67 - #define musb_dma_cppi(musb) 0 68 - #endif 69 - 70 64 #ifdef CONFIG_USB_TUSB_OMAP_DMA 71 65 #define tusb_dma_omap(musb) (musb->ops->quirks & MUSB_DMA_TUSB_OMAP) 72 66 #else ··· 73 79 #define musb_dma_inventra(musb) 0 74 80 #endif 75 81 76 - #if defined(CONFIG_USB_TI_CPPI_DMA) || defined(CONFIG_USB_TI_CPPI41_DMA) 77 - #define is_cppi_enabled(musb) \ 78 - (musb_dma_cppi(musb) || musb_dma_cppi41(musb)) 82 + #if defined(CONFIG_USB_TI_CPPI41_DMA) 83 + #define is_cppi_enabled(musb) musb_dma_cppi41(musb) 79 84 #else 80 - #define is_cppi_enabled(musb) 0 85 + #define is_cppi_enabled(musb) 0 81 86 #endif 82 87 83 88 /*