Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH] ata: pata_atiixp trivial fix
@ 2026-10-13  4:31 Ioannis Barkas
  2026-10-13  4:44 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Ioannis Barkas @ 2026-10-13  4:31 UTC (permalink / raw)
  To: linux-ide; +Cc: Ioannis Barkas

Reduce mwdma_timings to match its members

Signed-off-by: Ioannis Barkas jnyb.de@gmail.com
---
 drivers/ata/pata_atiixp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index 74ef9195bd..b4eb9c3f93 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -149,7 +149,7 @@ static void atiixp_set_piomode(struct ata_port *ap, struct ata_device *adev)
 
 static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev)
 {
-	static const u8 mwdma_timings[5] = { 0x77, 0x21, 0x20 };
+	static const u8 mwdma_timings[3] = { 0x77, 0x21, 0x20 };
 
 	struct pci_dev *pdev = to_pci_dev(ap->host->dev);
 	int dma = adev->dma_mode;
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-13  4:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13  4:31 [PATCH] ata: pata_atiixp trivial fix Ioannis Barkas
2026-10-13  4:44 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox