mirror of https://gitee.com/openkylin/linux.git
Input: spear-keyboard - fix disable device_init_wakeup in remove
This patch is to disable device wakeup while removing keyboard. Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
8830cb88dd
commit
5bdea83565
|
@ -302,7 +302,7 @@ static int __devexit spear_kbd_remove(struct platform_device *pdev)
|
|||
release_mem_region(kbd->res->start, resource_size(kbd->res));
|
||||
kfree(kbd);
|
||||
|
||||
device_init_wakeup(&pdev->dev, 1);
|
||||
device_init_wakeup(&pdev->dev, 0);
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue