input: touchscreen: elan: Add missing break in elan_iap_ioctl
drivers/input/touchscreen/elan/elan_ts.c:1471:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
default:
^
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I7b8d9d1d90d2fff2308ae0f9663447af6fd91569
This commit is contained in:
parent
08a98cf5bf
commit
a176f67f42
1 changed files with 6 additions and 5 deletions
|
|
@ -1463,11 +1463,12 @@ static long elan_iap_ioctl( struct file *filp, unsigned int cmd, unsigned long a
|
|||
case IOCTL_I2C_INT:
|
||||
put_user(gpio_get_value(ts->hw_info.intr_gpio), ip);
|
||||
break;
|
||||
case IOCTL_USER_HANDLE_IRQ:
|
||||
ts->user_handle_irq = 1;
|
||||
break;
|
||||
case IOCTL_KERN_HANDLE_IRQ:
|
||||
ts->user_handle_irq = 0;
|
||||
case IOCTL_USER_HANDLE_IRQ:
|
||||
ts->user_handle_irq = 1;
|
||||
break;
|
||||
case IOCTL_KERN_HANDLE_IRQ:
|
||||
ts->user_handle_irq = 0;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue