]> git.karo-electronics.de Git - karo-tx-linux.git/commit
paride: 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)
commitfa9e1619451a71b98de8c050fb2950bb4b2bce60
treef49d2b1bba4bf5bf361964471bf8b6f9b042bc43
parent9d7e15702edac354221e82cfd64e21b99590e81c
paride: Convert to bdops->check_events()

commit b1b56b93f331bd61492fdb99e7986f7a528ca730 upstream.

Convert paride drivers from ->media_changed() to ->check_events().

pcd and pd buffer and clear events after reporting; however, pf
unconditionally reports MEDIA_CHANGE and will 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>
Cc: Tim Waugh <tim@cyberelk.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/paride/pcd.c
drivers/block/paride/pd.c
drivers/block/paride/pf.c