Re: question about drivers/dma/dma-jz4780.c

From: Julia Lawall
Date: Fri Jul 24 2015 - 02:50:04 EST


On Fri, 24 Jul 2015, Vinod Koul wrote:

> On Fri, Jul 24, 2015 at 07:51:28AM +0200, Julia Lawall wrote:
> > > Yes for dmaengine drivers I do ask this question which typically ends up in
> > > driver invoking devm_irq_free() in driver's remove callback
> > >
> > > IMHO don't think devm irq calls are very useful, they do make stuff
> > > complicate
> >
> > Would it be better then to just go back to request_irq (or whatever is
> > appropriate in this case). It would seem that the devm property can never
> > be relied on, so there is no point to use it.
>
> Yes I do think that is right way in this case

Thanks for your help.

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/