summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2017-04-21 19:19:22 -0400
committerJens Axboe <axboe@fb.com>2017-04-25 00:03:46 -0400
commit76e4ad09a30cfb589eb436ad067f4abecb82cc04 (patch)
tree75b30ca7e081fc3907d7b0ea2e632f438e138bd1 /drivers/nvme
parentd9fd363a6cbfae24ffaa00ac6fd3ce8e271acaf1 (diff)
nvme: Fix APST comment
There was a typo in the description of the timeout heuristic. Signed-off-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index bf6729b1d8bf..30446e29dbd9 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -1325,7 +1325,7 @@ static void nvme_configure_apst(struct nvme_ctrl *ctrl)
1325 * heuristic: we are willing to spend at most 2% of the time 1325 * heuristic: we are willing to spend at most 2% of the time
1326 * transitioning between power states. Therefore, when running 1326 * transitioning between power states. Therefore, when running
1327 * in any given state, we will enter the next lower-power 1327 * in any given state, we will enter the next lower-power
1328 * non-operational state after waiting 100 * (enlat + exlat) 1328 * non-operational state after waiting 50 * (enlat + exlat)
1329 * microseconds, as long as that state's total latency is under 1329 * microseconds, as long as that state's total latency is under
1330 * the requested maximum latency. 1330 * the requested maximum latency.
1331 * 1331 *