aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blk_types.h
diff options
context:
space:
mode:
authorChangyuan Lyu <changyuanl@google.com>2023-04-18 19:01:01 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2023-05-08 07:15:38 -0400
commit3aa65f7e25acb44d9043d236206e844295cf8c6a (patch)
tree2820c01a1e8f5654bcca12aac2f76a32c81a1b98 /include/linux/blk_types.h
parentscsi: pm80xx: Log port state during HW event (diff)
downloadwireguard-linux-3aa65f7e25acb44d9043d236206e844295cf8c6a.tar.xz
wireguard-linux-3aa65f7e25acb44d9043d236206e844295cf8c6a.zip
scsi: pm80xx: Update PHY state after hard reset
Update phy_attached, phy_state, and port_state to correct values after a hard rest. Without this patch, after a successful hard reset, phy_attached is still 0, as a result, any following hard reset will cause a PHY START to be issued first. Signed-off-by: Changyuan Lyu <changyuanl@google.com> Signed-off-by: Pranav Prasad <pranavpp@google.com> Link: https://lore.kernel.org/r/20230418190101.696345-7-pranavpp@google.com Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/blk_types.h')
0 files changed, 0 insertions, 0 deletions