Skip to content
/ linux Public

Commit 3f271c2

Browse files
linuswSasha Levin
authored andcommitted
ata: pata_ftide010: Fix some DMA timings
commit ff4a46c upstream. The FTIDE010 has been missing some timing settings since its inception, since the upstream OpenWrt patch was missing these. The community has since come up with the appropriate timings. Fixes: be4e456 ("ata: Add driver for Faraday Technology FTIDE010") Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij <linusw@kernel.org> Signed-off-by: Niklas Cassel <cassel@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d906a2d commit 3f271c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/ata/pata_ftide010.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ static const u8 mwdma_50_active_time[3] = {6, 2, 2};
123123
static const u8 mwdma_50_recovery_time[3] = {6, 2, 1};
124124
static const u8 mwdma_66_active_time[3] = {8, 3, 3};
125125
static const u8 mwdma_66_recovery_time[3] = {8, 2, 1};
126-
static const u8 udma_50_setup_time[6] = {3, 3, 2, 2, 1, 1};
126+
static const u8 udma_50_setup_time[6] = {3, 3, 2, 2, 1, 9};
127127
static const u8 udma_50_hold_time[6] = {3, 1, 1, 1, 1, 1};
128-
static const u8 udma_66_setup_time[7] = {4, 4, 3, 2, };
129-
static const u8 udma_66_hold_time[7] = {};
128+
static const u8 udma_66_setup_time[7] = {4, 4, 3, 2, 1, 9, 9};
129+
static const u8 udma_66_hold_time[7] = {4, 2, 1, 1, 1, 1, 1};
130130

131131
/*
132132
* We set 66 MHz for all MWDMA modes

0 commit comments

Comments
 (0)