On Tue, Nov 21, 2017 at 2:42 PM, Adrian Hunter <[email protected]> wrote:

> Use blk_cleanup_queue() to shutdown the queue when the driver is removed,
> and instead get an extra reference to the queue to prevent the queue being
> freed before the final mmc_blk_put().
>
> Signed-off-by: Adrian Hunter <[email protected]>

This is way more elegant.
Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

Reply via email to