summaryrefslogtreecommitdiff
path: root/include/uapi/scsi
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@linutronix.de>2019-05-19 20:59:37 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-21 03:00:46 +0300
commit563ecb8a3ccf041bb00d3404dee77c7f50c60039 (patch)
tree9c12f837b83e17cf7a9696f52526aebbb73af301 /include/uapi/scsi
parent882119ff969da4ec308d1161c78d22bc9b4a1f01 (diff)
downloadlinux-563ecb8a3ccf041bb00d3404dee77c7f50c60039.tar.xz
2/2] net: xilinx_emaclite: use readx_poll_timeout() in mdio wait function
On loaded systems with a preemptible kernel the mdio_wait() function may report an error while everything is working fine: xemaclite_mdio_wait(): xemaclite_readl() -> chip not ready --> interrupt here (other work for some time / chip become ready) if (time_before_eq(end, jiffies)) --> false positive error report Replace the current code with readx_poll_timeout() which takes care of the situation. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/scsi')
0 files changed, 0 insertions, 0 deletions