]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ata: ahci_brcm: Add back regulators management
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 29 Jan 2021 18:28:45 +0000 (10:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Mar 2021 17:22:43 +0000 (18:22 +0100)
commit4df803e55cd4397c051049e6767797040d0d70b7
treee01ede0493483125743664be7ee5cb3684606c20
parentab1fbcc93aec8ab387524ae028829ee74d90a582
ata: ahci_brcm: Add back regulators management

[ Upstream commit 10340f8d7b6dd54e616339c8ccb2f397133ebea0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ata/ahci_brcm.c