diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-06-05 18:45:22 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-06-06 16:08:20 +0300 |
commit | be5bb8f08205b5af9c44dccc9567584f572e2264 (patch) | |
tree | 19837830db2028dca97b2147d4311f4595c8935d /drivers/platform | |
parent | 29cf9f36215c350a1990f68f1798fc826e4ef00b (diff) | |
download | linux-be5bb8f08205b5af9c44dccc9567584f572e2264.tar.xz |
pinctrl: moorefield: Fix open-drain pin mode configuration
Currently the pin may not be configured as open-drain in some
cases because the argument may be 0 for the boolean types of
the pin configurations. Fix this by ignoring the argument.
With that, allow to actually restore pin to the push-pull mode.
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions