Input: tegra-kbc - handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 31 Aug 2017 18:35:29 +0000 (11:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Aug 2017 18:57:27 +0000 (11:57 -0700)
commit8a7f102c4b15940e43b712d35da357a2c05ffb84
tree7db498200690d14089939206112e008147e99520
parent9ee0a0558819e63d189426c953668fe1ce7cb637
Input: tegra-kbc - handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tegra-kbc.c