summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lp55xx-common.c
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-09-06 17:21:58 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-09-15 01:10:43 +0300
commit7bb5fb207334758ce6ee84345d6f08e4fb284fe6 (patch)
tree8d5e6f2172db7f33f1e6a9ff50ef987b0d099a75 /drivers/leds/leds-lp55xx-common.c
parent6243e3c78ace66d337a1e43b60a1aa8f5b61bd72 (diff)
downloadlinux-7bb5fb207334758ce6ee84345d6f08e4fb284fe6.tar.xz
vduse: Cleanup the old kernel states after reset failure
We should cleanup the old kernel states e.g. interrupt callback no matter whether the userspace handle the reset correctly or not since virtio-vdpa can't handle the reset failure now. Otherwise, the old state might be used after reset which might break something, e.g. the old interrupt callback might be triggered by userspace after reset, which can break the virtio device driver. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Link: https://lore.kernel.org/r/20210906142158.181-1-xieyongji@bytedance.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.c')
0 files changed, 0 insertions, 0 deletions