]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gdrom,viocd: Convert to bdops->check_events()
authorTejun Heo <tj@kernel.org>
Wed, 9 Mar 2011 18:54:28 +0000 (19:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 01:33:42 +0000 (10:33 +0900)
commit620f10854dc3d00f0bf93d3a803384e342bafada
tree39761d3913a9089cb966745b0158175d71297efd
parentfa9e1619451a71b98de8c050fb2950bb4b2bce60
gdrom,viocd: Convert to bdops->check_events()

commit 1c27030bd21e7e2c68ef5be9f28c63778cf4b27f upstream.

Convert gdrom and viocd from ->media_changed() to ->check_events().

It's unclear how the conditions are cleared and it's possible that it
may generate spurious events when polled.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/cdrom/gdrom.c
drivers/cdrom/viocd.c