ata: ahci_brcm: Add back regulators management
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 29 Jan 2021 18:28:45 +0000 (10:28 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Jan 2021 21:08:07 +0000 (14:08 -0700)
commit10340f8d7b6dd54e616339c8ccb2f397133ebea0
treee92fe4ac1ae817ec12ae643721ec15bc80a44a2e
parent6ee1d745b7c9fd573fba142a2efdad76a9f1cb04
ata: ahci_brcm: Add back regulators management

While reworking the resources management and departing from using
ahci_platform_enable_resources() which did not allow a proper step
separation like we need, we unfortunately lost the ability to control
AHCI regulators. This broke some Broadcom STB systems that do expect
regulators to be turned on to link up with attached hard drives.

Fixes: c0cdf2ac4b5b ("ata: ahci_brcm: Fix AHCI resources management")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/ahci_brcm.c