]> git.dujemihanovic.xyz Git - u-boot.git/commit
scsi: ceva: Use generic_phy_valid() helper
authorJonas Karlman <jonas@kwiboo.se>
Thu, 31 Aug 2023 22:16:37 +0000 (22:16 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 13 Sep 2023 19:52:20 +0000 (15:52 -0400)
commit017ae4920ba71badb6ec92184fc0b529b7153fc5
treec133b597c15b6855596af1c32eb0fea859a11f08
parent5ccfdd8a8320001ac08ad03a2a36bfd45c7c151c
scsi: ceva: Use generic_phy_valid() helper

The documentation for struct phy state that "The content of the
structure is managed solely by the PHY API and PHY drivers".

Change to use the generic_phy_valid() helper to check if phy is valid.

Fixes: f6f5451d469b ("scsi: ceva: Enable PHY and reset support")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
drivers/ata/sata_ceva.c