From 2a6b1f0b9ed359bac96e0ab0807186f5433e8143 Mon Sep 17 00:00:00 2001 From: Yi Zhou Date: Mon, 15 Oct 2018 17:04:10 +0800 Subject: [PATCH] hdmitx: esm: add unlocked_ioctl in esm [1/1] 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 --- drivers/amlogic/esm/hdcp_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/amlogic/esm/hdcp_main.c b/drivers/amlogic/esm/hdcp_main.c index efbfb9659107..cbddd87f6d94 100644 --- a/drivers/amlogic/esm/hdcp_main.c +++ b/drivers/amlogic/esm/hdcp_main.c @@ -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, };