Messages in this thread | | | From | Bartosz Golaszewski <> | Date | Thu, 5 Oct 2017 14:45:45 +0200 | Subject | Re: [PATCH] irq/irq_sim: implement irq_sim_baseirq() |
| |
2017-09-26 19:06 GMT+02:00 Bartosz Golaszewski <brgl@bgdev.pl>: > 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@bgdev.pl> > --- > 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
| |