• T
    floppy,{ami|ata}flop: Convert to bdops->check_events() · 1a8a74f0
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    1a8a74f0
floppy.c 117.0 KB