From: Mark Salyzyn Date: Tue, 17 Jan 2012 17:56:45 +0000 (-0500) Subject: [SCSI] pm8001: fix lockup on phy_control hard reset. X-Git-Tag: v3.4-rc1~145^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c4fb76af31e9dabcd132a0e69ed3799df1304c3;p=pandora-kernel.git [SCSI] pm8001: fix lockup on phy_control hard reset. pm8001_phy_control PHY_FUNC_HARD_RESET locks up on second try via smp_phy_control because response HW_EVENT_PHY_START_STATUS fails to complete previous command. The PM8001F_RUN_TIME flag is not treated as a bit, but a state in all readers, yet once we are operational or in the run time state, the flags use a bit-set operation. Signed-off-by: Mark Salyzyn Acked-by: Jack Wang Signed-off-by: James Bottomley --- Reading git-diff-tree failed