android_kernel_motorola_sm6375/drivers/cdrom
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Diego Elio Pettenò 7739bc1e0e cdrom: respect device capabilities during opening action
[ Upstream commit 366ba7c71ef77c08d06b18ad61b26e2df7352338 ]

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.

To: Jens Axboe <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Diego Elio Pettenò <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-01-04 19:18:25 +01:00
..
cdrom.c cdrom: respect device capabilities during opening action 2020-01-04 19:18:25 +01:00
gdrom.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
Makefile