OSDN Git Service

ata: libahci: do not complain in case of deferred probe
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 31 Jul 2019 12:26:51 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:51:46 +0000 (10:51 +0200)
commit4f62e065a5c628d8e8bad58f3f5245dfe7f504dd
tree1fb3d35d11a351f30886c1ed236262c01cd42896
parent033d8392e5f3169cace4d41477f8ca2ca8407ce5
ata: libahci: do not complain in case of deferred probe

[ Upstream commit 090bb803708198e5ab6b0046398c7ed9f4d12d6b ]

Retrieving PHYs can defer the probe, do not spawn an error when
-EPROBE_DEFER is returned, it is normal behavior.

Fixes: b1a9edbda040 ("ata: libahci: allow to use multiple PHYs")
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ata/libahci_platform.c