diff options
author | Michael Walle <[email protected]> | 2022-02-26 21:45:06 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-03-15 01:55:58 +0100 |
commit | 2560c681999c9d33eb32b208de6a607622867c95 (patch) | |
tree | cb30933467d541df83f874e27ce46ed2be2643d0 /net/switchdev/switchdev.c | |
parent | 0e68328edb3227cd00681671843c3d4113083456 (diff) |
pinctrl: microchip-sgpio: return error in spgio_output_set()
Make sgpio_output_set() return an error value. Don't just ignore the
return value of any regmap access but propagate it to our callers. Even
if the accesses never fail, this is a preparation patch to add single
shot mode where we need to poll a bit and thus we might get -ETIMEDOUT.
Signed-off-by: Michael Walle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions