summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorPeter Wang <peter.wang@mediatek.com>2025-08-11 21:11:18 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2025-08-14 22:49:12 -0400
commitaa86602a483ba48f51044fbaefa1ebbf6da194a4 (patch)
treeedd18aca296d93dc9f87475ab0750510397ab75c /rust/helpers/helpers.c
parent6c00c493a344b65fb0a356cb3f328a647085687b (diff)
scsi: ufs: host: mediatek: Fix auto-hibern8 timer configuration
Move the configuration of the Auto-Hibern8 (AHIT) timer from the post-link stage to the 'fixup_dev_quirks' function. This change allows setting the AHIT based on the vendor requirements: (a) Samsung: 3.5 ms (b) Micron: 2 ms (c) Others: 1 ms Additionally, the clock gating timer is adjusted based on the AHIT scale, with a maximum setting of 10 ms. This ensures that the clock gating delay is appropriately configured to match the AHIT settings. Signed-off-by: Peter Wang <peter.wang@mediatek.com> Link: https://lore.kernel.org/r/20250811131423.3444014-3-peter.wang@mediatek.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions