Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_tr…
…igger() The at91_adc_allocate_trigger() function is supposed to return error pointers. Returning a NULL will cause an Oops. Fixes: 5e1a1da ("iio: adc: at91-sama5d2_adc: add hw trigger and buffer support") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information