• Tejun Heo's avatar
    paride: Convert to bdops->check_events() · b1b56b93
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Cc: Tim Waugh <tim@cyberelk.net>
    b1b56b93
pd.c 23.7 KB