[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8a5a8f1d6ee4d6c801e4907dd54acf7@SGPMBX1019.APAC.bosch.com>
Date: Mon, 11 Jul 2016 06:49:40 +0000
From: "Veeraiyan Chidambaram (RBEI/ECF32)"
<Veeraiyan.Chidambaram@...bosch.com>
To: Jens Axboe <axboe@...nel.dk>, Jonathan Corbet <corbet@....net>,
"Channaiah Vanitha (RBEI/ECF31)" <Vanitha.Channaiah@...bosch.com>,
"Mahendran Kuppusamy (RBEI/ECF31)" <Mahendran.Kuppusamy@...bosch.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] cdrom: support read sub-channel command in LBA format
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
Download attachment "0001-cdrom-support-read-sub-channel-command-in-LBA-format.patch" of type "application/octet-stream" (3660 bytes)
Powered by blists - more mailing lists