linux-sg2042/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 pinctrl: fix allmodconfig noise 2015-04-15 10:02:42 +02:00
Makefile arm64: mediatek: Add Pinctrl/GPIO/EINT driver for mt8173. 2015-03-18 02:02:16 +01:00
pinctrl-mt8135.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-mt8173.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-mtk-common.c pinctrl: mediatek: mtk-common: initialize unmask 2015-05-04 15:20:22 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: emulate GPIO interrupt on both-edges 2015-03-18 02:02:16 +01:00
pinctrl-mtk-mt8135.h pinctrl: mediatek: Fix include directive 2015-03-18 10:58:21 +01:00
pinctrl-mtk-mt8173.h pinctrl: mediatek: mt8135/mt8173: Fix build error due to missing include file 2015-03-18 13:06:09 +01:00