hdmitx: esm: add unlocked_ioctl in esm [1/1]
authorYi Zhou <yi.zhou@amlogic.com>
Mon, 15 Oct 2018 09:04:10 +0000 (17:04 +0800)
committerYi Zhou <yi.zhou@amlogic.com>
Tue, 16 Oct 2018 06:01:41 +0000 (14:01 +0800)
PD#SWPL-566

Problem:
hdcp_tx22 can't work with 32bit kernel

Solution
add unlocked_ioctl in esm of 32bit kernel

Verify:
P215

Change-Id: I072abb2ba395c75d92f082ecadcc21e1fefc6f73
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/esm/hdcp_main.c

index efbfb96..cbddd87 100644 (file)
@@ -405,7 +405,10 @@ static long hld_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
 }
 
 static const struct file_operations hld_file_operations = {
+       .unlocked_ioctl = hld_ioctl,
+#ifdef CONFIG_COMPAT
        .compat_ioctl = hld_ioctl,
+#endif
        .owner = THIS_MODULE,
 };