Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1440297

[PATCH] cdrom: support read sub-channel command in LBA format

From "Veeraiyan Chidambaram (RBEI/ECF32)" <Veeraiyan.Chidambaram@in.bosch.com>
Newsgroups linux.kernel
Subject [PATCH] cdrom: support read sub-channel command in LBA format
Date 2016-07-11 09:00 +0200
Message-ID <rTDma-3uz-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Jens,

 In CDROM Linux driver code, "Read Sub channel" format is hard coded with CDROM_MSF format only in the function cdrom_read_subchannel() and mmc_ioctl_cdrom_subchannel() in cdrom.c.
 Hence, irrespective of "Read Sub channel" command with CDROM_LBA/CDROM_MSF format, the reported Response which is in MSF format was considered as LBA in user space application.

Now the behavior is changed in such way that  IOCTL returns either CDROM_MSF or CDROM_LBA format per user request.

Please find the fix patch attached. 


Best regards

Veeraiyan Chidambaram
RBEI/ECF  

Tel. +91(422)676-4495 


Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] cdrom: support read sub-channel command in LBA format "Veeraiyan Chidambaram (RBEI/ECF32)"   <Veeraiyan.Chidambaram@in.bosch.com> - 2016-07-11 09:00 +0200
  Re: [PATCH] cdrom: support read sub-channel command in LBA format Jens Axboe <axboe@kernel.dk> - 2016-07-12 17:30 +0200

csiph-web