mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
ANDROID: usb: gadget: f_accessory: add compat_ioctl support
On Android 32-bit system, the following Cts Verifier testcase failed:
manualTests#com.android.cts.verifier.usb.accessory.UsbAccessoryTestActivity
The reason is that compat_ioctl() needs to be called.
So let's add compat_ioctl() for 32-bit applications to solve this issue.
Bug: 223101878
Change-Id: I6e1f797d919494d293184411041955c33ad08aef
Signed-off-by: Aran Dalton <arda@allwinnertech.com>
(cherry picked from commit 77bf53b486)
This commit is contained in:
committed by
Steve Muckle
parent
4443600ce1
commit
83631772f3
@@ -931,6 +931,7 @@ static const struct file_operations acc_fops = {
|
||||
.read = acc_read,
|
||||
.write = acc_write,
|
||||
.unlocked_ioctl = acc_ioctl,
|
||||
.compat_ioctl = acc_ioctl,
|
||||
.open = acc_open,
|
||||
.release = acc_release,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user