summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libahci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index f79dce613e54..fdb7d7bf7626 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -2162,6 +2162,8 @@ static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep)
2162 deto = 20; 2162 deto = 20;
2163 } 2163 }
2164 2164
2165 /* Make dito, mdat, deto bits to 0s */
2166 devslp &= ~GENMASK_ULL(24, 2);
2165 devslp |= ((dito << PORT_DEVSLP_DITO_OFFSET) | 2167 devslp |= ((dito << PORT_DEVSLP_DITO_OFFSET) |
2166 (mdat << PORT_DEVSLP_MDAT_OFFSET) | 2168 (mdat << PORT_DEVSLP_MDAT_OFFSET) |
2167 (deto << PORT_DEVSLP_DETO_OFFSET) | 2169 (deto << PORT_DEVSLP_DETO_OFFSET) |