summaryrefslogtreecommitdiff
path: root/net/vmw_vsock/virtio_transport.c
diff options
context:
space:
mode:
authorMayurkumar Patel <mayurkumar.patel@intel.com>2016-09-09 14:10:17 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2016-09-14 19:24:40 (GMT)
commit0c923d1da394b96727b813d1e64412b72f1dc580 (patch)
tree7a023b2ba1d8efbbb9a57c97ec40ff9a65a662d4 /net/vmw_vsock/virtio_transport.c
parentfad214b0aa726ee21adcac4308d388efcb89d6bd (diff)
downloadlinux-0c923d1da394b96727b813d1e64412b72f1dc580.tar.xz
PCI: pciehp: Don't re-read Slot Status when queuing hotplug event
Previously we read Slot Status to learn about hotplug events, then cleared the events, then re-read Slot Status to find out what happened. But Slot Status might have changed before the second read. Capture the Slot Status once before clearing the events. Also capture the Link Status if we had a link status change. [bhelgaas: changelog, split to separate patch] Tested-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Mayurkumar Patel <mayurkumar.patel@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'net/vmw_vsock/virtio_transport.c')
0 files changed, 0 insertions, 0 deletions