• Tejun Heo's avatar
    floppy,{ami|ata}flop: Convert to bdops->check_events() · 1a8a74f0
    Tejun Heo authored
    Convert the floppy drivers from ->media_changed() to ->check_events().
    Both floppy and ataflop buffer media changed state bit and clear them
    on revalidation and will behave correctly with kernel event polling.
    
    I can't tell how amiflop clears its event and it's possible that it
    may generate spurious events when polled.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    1a8a74f0
ataflop.c 52 KB