Commit 5835196a authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

pinctrl: cherryview: Return correct value if pin in push-pull mode

Currently the getter returns ENOTSUPP on pin configured in
the push-pull mode. Fix this by adding the missed switch case.

Fixes: ccdf81d0 ("pinctrl: cherryview: add option to set open-drain pin config")
Fixes: 6e08d6bb

 ("pinctrl: Add Intel Cherryview/Braswell pin controller support")
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 0633dc4a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment