Re: [PATCH 1/2] cdrom: respect device capabilities during opening action

From: Jens Axboe
Date: Tue Nov 26 2019 - 15:02:45 EST


On 11/19/19 2:37 PM, Diego Elio Pettenà wrote:
> Reading the TOC only works if the device can play audio, otherwise
> these commands fail (and possibly bring the device to an unhealthy
> state.)
>
> Similarly, cdrom_mmc3_profile() should only be called if the device
> supports generic packet commands.

Applied 1-2, thanks.

--
Jens Axboe