zpa2326.c (4f2c0a4acffbec01079c28f839422e64ddeff004) zpa2326.c (f700e55ef6ef9ec723164659ed4385900981c872)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Murata ZPA2326 pressure and temperature sensor IIO driver
4 *
5 * Copyright (c) 2016 Parrot S.A.
6 *
7 * Author: Gregor Boirie <gregor.boirie@parrot.com>
8 */

--- 815 unchanged lines hidden (view full) ---

824 if (cont)
825 return IRQ_NONE;
826
827 priv->result = -ENODATA;
828 goto complete;
829 }
830
831 /* New sample available: dispatch internal trigger consumers. */
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Murata ZPA2326 pressure and temperature sensor IIO driver
4 *
5 * Copyright (c) 2016 Parrot S.A.
6 *
7 * Author: Gregor Boirie <gregor.boirie@parrot.com>
8 */

--- 815 unchanged lines hidden (view full) ---

824 if (cont)
825 return IRQ_NONE;
826
827 priv->result = -ENODATA;
828 goto complete;
829 }
830
831 /* New sample available: dispatch internal trigger consumers. */
832 iio_trigger_poll_chained(priv->trigger);
832 iio_trigger_poll_nested(priv->trigger);
833
834 if (cont)
835 /*
836 * Internal hardware trigger has been scheduled above : it will
837 * fetch data on its own.
838 */
839 return IRQ_HANDLED;
840

--- 876 unchanged lines hidden ---
833
834 if (cont)
835 /*
836 * Internal hardware trigger has been scheduled above : it will
837 * fetch data on its own.
838 */
839 return IRQ_HANDLED;
840

--- 876 unchanged lines hidden ---