tmp_suning_uos_patched/drivers/pinctrl/mediatek
Colin Ian King 74d77e50f2 pinctrl: mediatek: mtk-common: initialize unmask
cppcheck detected an uninitialized variable:

[drivers/pinctrl/mediatek/pinctrl-mtk-common.c:897]:
  (error) Uninitialized variable: unmask

unmask should be initialized to zero to ensure unmasking
only occurs if a previous mask occurred. The current situation
is that the unmask variable could contain any random garbage
causing random unexpected unmasking.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-05-04 15:20:22 +02:00
..
Kconfig
Makefile
pinctrl-mt8135.c
pinctrl-mt8173.c
pinctrl-mtk-common.c
pinctrl-mtk-common.h
pinctrl-mtk-mt8135.h
pinctrl-mtk-mt8173.h