aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/arm/icside.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/arm/icside.c')
-rw-r--r--drivers/ide/arm/icside.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c
index 8a9b98fcb66d..28f910b5aa5d 100644
--- a/drivers/ide/arm/icside.c
+++ b/drivers/ide/arm/icside.c
@@ -255,8 +255,7 @@ static int icside_set_speed(ide_drive_t *drive, u8 xfer_mode)
255 /* 255 /*
256 * Limit the transfer speed to MW_DMA_2. 256 * Limit the transfer speed to MW_DMA_2.
257 */ 257 */
258 if (xfer_mode > XFER_MW_DMA_2) 258 xfer_mode = ide_rate_filter(drive, xfer_mode);
259 xfer_mode = XFER_MW_DMA_2;
260 259
261 switch (xfer_mode) { 260 switch (xfer_mode) {
262 case XFER_MW_DMA_2: 261 case XFER_MW_DMA_2: