ata: libata-core: Advertize device support for DIPM and HIPM features
authorDamien Le Moal <dlemoal@kernel.org>
Tue, 1 Jul 2025 12:53:14 +0000 (21:53 +0900)
committerNiklas Cassel <cassel@kernel.org>
Wed, 2 Jul 2025 10:01:33 +0000 (12:01 +0200)
commitb1f5af54f1f5202ba0cd29a94e45ee7ac7517c0f
treedeaf1f1e9ca587b1d99120c2e839fd091b264ed2
parentd99a9142e782f34197dd7459a703ebc0971078e8
ata: libata-core: Advertize device support for DIPM and HIPM features

Modify ata_dev_print_features() to advertize if a device supports the
Device Initiated Power Management (DIPM) and Host Initiated Power
Management (HIPM) features.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20250701125321.69496-4-dlemoal@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/libata-core.c