commit | be35d281da6af5f147383f06d050426901b2d25f | [log] [tgz] |
---|---|---|
author | Mathieu Othacehe <m.othacehe@gmail.com> | Wed Feb 20 17:49:10 2019 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Apr 04 20:19:41 2019 +0100 |
tree | 5ec367970627115156391bc3a71a47b0a40129b5 | |
parent | cb57f2eb0156829f61dd946d96b1270ea7535b76 [diff] |
iio: trigger: Print an error if there is no available irq If there are more trigger consumers than CONFIG_IIO_CONSUMERS_PER_TRIGGER, iio_trigger_attach_poll_func will silently fail. Add an error message to inform the user that CONFIG_IIO_CONSUMERS_PER_TRIGGER limit might be exceeded. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>