mmc: atmel-mci: Remove AVR32 bits from the driver
PATCH 1/1 mmc: atmel-mci: Remove AVR32 bits from the driver
AVR32 is gone. Now it's time to clean up the driver by removing leftovers that was used by AVR32 related code.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/mmc/host/atmel-mci.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
drivers/mmc/host/atmel-mci.c +1 -8
@@ -172,13 +172,6 @@#define atmci_writel (port, reg, value) \ __raw_writel((value), (port)->regs + reg) -/* On AVR chips the Peripheral DMA Controller is not connected to MCI. */ -#ifdef CONFIG_AVR32 -# define ATMCI_PDC_CONNECTED 0 -#else -# define ATMCI_PDC_CONNECTED 1 -#endif -#define AUTOSUSPEND_DELAY 50#define ATMCI_DATA_ERROR_FLAGS (ATMCI_DCRCE | ATMCI_DTOE | ATMCI_OVRE | ATMCI_UNRE)
@@ -2464,7 +2457,7 @@ static void atmci_get_cap(struct atmel_mci *host) "version: 0x%x\n", version); host->caps.has_dma_conf_reg =0 ; - host->caps.has_pdc =ATMCI_PDC_CONNECTED ; + host->caps.has_pdc =1 ; host->caps.has_cfg_reg =0 ; host->caps.has_cstor_reg =0 ; host->caps.has_highspeed =0 ;
Signature · 1 line
2.11.0