ata: ahci_brcm: Allow optional reset controller to be used
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 1 Oct 2018 17:33:00 +0000 (10:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 09:17:55 +0000 (10:17 +0100)
commit0cbbbcda858601c2e2c1535c8819fa1a606d47f1
tree31e42556e954fd253cec7bb7e16e4104d827d914
parenteb3f6286e76aa16295081db7ce0229fda6fce4a1
ata: ahci_brcm: Allow optional reset controller to be used

commit 2b2c47d9e1fe90311b725125d6252a859ee87a79 upstream.

On BCM63138, we need to reset the AHCI core prior to start utilizing it,
grab the reset controller device cookie and do that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/ahci_brcm.c