summaryrefslogtreecommitdiff
path: root/drivers/gnss
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-12-04 19:48:48 +0300
committerJens Axboe <axboe@kernel.dk>2020-12-12 21:12:25 +0300
commitb5f32555567cfe0a5d5dbe7c1e85ebe37b3f545a (patch)
tree58c38d310c959e7ec2557a9e3c46fd245f0635c6 /drivers/gnss
parentf87905660ed01d85e45eac22d479f31f380b2f50 (diff)
downloadlinux-b5f32555567cfe0a5d5dbe7c1e85ebe37b3f545a.tar.xz
cdrom: Reset sector_size back it is not 2048.
In v2.4.0-test2pre2 mmc_ioctl_cdrom_read_data() was extended by issuing a MODE_SELECT opcode to change the sector size and READ_10 to perform the actual read if the READ_CD opcode is not support. The sector size is never changed back to the previous value of 2048 bytes which is however denoted by the comment for version 3.09 of the cdrom.c file. Use cdrom_switch_blocksize() to change the sector size only if the requested size deviates from 2048. Change it back to 2048 after the read operation if a change was mode. Link: https://lkml.kernel.org/r/20201204164803.ovwurzs3257em2rp@linutronix.de Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gnss')
0 files changed, 0 insertions, 0 deletions