Hi,
With this patch applied a CDROMVOLREAD ioctl returns EINVAL. I believe
that this is because of an error in the 'sanity check' added by the patch:
if ((buffer[offset] & 0x3f) == GPMODE_AUDIO_CTL_PAGE ||
^^
should be !=
Yours,
Grant Wilson
Grant Wilson wrote:
> Hi,
> With this patch applied a CDROMVOLREAD ioctl returns EINVAL. I believe
> that this is because of an error in the 'sanity check' added by the patch:
>
> if ((buffer[offset] & 0x3f) == GPMODE_AUDIO_CTL_PAGE ||
> ^^
> should be !=
Yes, absolutely. It should be != GPMODE_AUDIO_CTL_PAGE. Thanks! A.