summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-03-14 20:32:50 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-04-05 00:04:28 +0700
commit542f36159f9466faf4bd8d776fdc79f07c048c42 (patch)
treeaffd978d0121b6727a57ef467a43dfd42243d7e0 /scripts/package
parent58f57f864c034b8e49b7d9637601e813ffac69bd (diff)
gpio: Set proper argument value to set_config
The gpio_set_config function creates a pinconf configuration for a given pinc_config_param. However, it always uses an arg of 0, which might not be a valid argument for a given param. A good example of that would be the bias parameters, where 0 means that the pull up or down resistor is null, and the pin is directly connected to VCC/GND. The framework uses in some other places the value 1 as a default argument to enable the pull resistor, so let's use the same one here. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions