pinctrl: single: change function mask default value
authorDario Binacchi <dariobin@libero.it>
Sun, 11 Apr 2021 07:39:45 +0000 (09:39 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 12 Apr 2021 05:47:15 +0000 (11:17 +0530)
commitd85b93e80bb285fd380a8bcb4c4b118d4b5f7b77
tree293349d119ee4c46945d2632d40181499ed8289e
parent971c64a452f6220f3a9c5f9fc77c4cb1928c38e4
pinctrl: single: change function mask default value

The patch is inspired by more recent versions of the Linux driver.
Replacing the default value 0xffffffff of the function mask with 0 is
certainly more conservative in case the "pinctrl-single,function-mask"
DT property is missing.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/pinctrl-single.c