Re: [PATCH] irq/irq_sim: implement irq_sim_baseirq()

From: Bartosz Golaszewski
Date: Thu Oct 05 2017 - 08:45:50 EST


2017-09-26 19:06 GMT+02:00 Bartosz Golaszewski <brgl@xxxxxxxx>:
> Some users need to access the base of the allocated interrupt range.
> Although this can be calculated manually, it's more elegant to expose
> an interface for that.
>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
> ---
> When porting the iio_dummy_evgen to using irq_sim I needed to manually
> calculate the base interrupt number. If this gets merged, I'll update
> the iio driver for 4.16.
>
> include/linux/irq_sim.h | 1 +
> kernel/irq/irq_sim.c | 11 +++++++++++
> 2 files changed, 12 insertions(+)
>

Superseded by: https://lkml.org/lkml/2017/10/5/312