aboutsummaryrefslogtreecommitdiff
path: root/mm/percpu-vm.c
diff options
context:
space:
mode:
authorDamien Le Moal2021-08-16 10:44:49 +0900
committerJens Axboe2021-08-18 07:19:39 -0600
commitd8d8778c24cc4689250b59c426489a360032d912 (patch)
treec30e7b257e107d2e9dec91a6add2bcec6a0db5cc /mm/percpu-vm.c
parent56b4f06c55add95fe508a1746d9173bade6388bf (diff)
libata: cleanup device sleep capability detection
Move the code to retrieve the device sleep capability and timings out of ata_dev_configure() into the helper function ata_dev_config_devslp(). While at it, mark the device as supporting the device sleep capability only if the sata settings page was retrieved successfully to ensure that the timing information is correctly initialized. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20210816014456.2191776-5-damien.lemoal@wdc.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions