summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-04-26 08:06:58 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-05-22 14:53:06 -0400
commiteb72d0bb84eee5d0dc3044fd17b75e7101dabb57 (patch)
tree746f6c67d19372ca2b336027a4e5b1f8d8be6e62 /Documentation/devicetree/bindings/iio
parenta621bac3044ed6f7ec5fa0326491b2d4838bfa93 (diff)
sd: get disk reference in sd_check_events()
sd_check_events() is called asynchronously, and might race with device removal. So always take a disk reference when processing the event to avoid the device being removed while the event is processed. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
0 files changed, 0 insertions, 0 deletions