pps: clients: gpio: Bail out on error when requesting GPIO echo line
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Mar 2021 13:03:15 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Mar 2021 07:26:31 +0000 (08:26 +0100)
commita4780db3ad13b5381e0512b4507857390efea963
tree72a0d6be1ad98cc93ba07034ec514c0e196fc384
parentae28c1be1e54f2eda1c8b4469c4652e8a24056ed
pps: clients: gpio: Bail out on error when requesting GPIO echo line

When requesting optional GPIO echo line, bail out on error,
so user will know that something wrong with the existing property.

Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210318130321.24227-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pps/clients/pps-gpio.c