On Mon, Jan 11, 2021 at 05:56:35PM +0100, Loic Poulain wrote: > Instead of duplicating queuing procedure in mhi_queue_dma(), > mhi_queue_buf() and mhi_queue_skb(), add a new generic mhi_queue() > as common helper. > > Note that the unified mhi_queue align pm_lock locking on mhi_queue_buf > behavior, taking it with irqsave variant (vs _bh for former queue_skb > and queue_dma version). > > Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxx> > --- > v2: re-integrate pre_alloc check (Mani) > comment about _bh to _irqsave unification > v3: move pre_alloc check in queue_dma/queue_skb Integrated this to the v2 and applied! Thanks, Mani