Re: [PATCH 2/2] usb: fix renesas_usbhs to not schedule in atomiccontext

From: Guennadi Liakhovetski
Date: Mon Feb 13 2012 - 07:17:46 EST


On Mon, 13 Feb 2012, Felipe Balbi wrote:

> Hi,
>
> On Thu, Feb 09, 2012 at 11:17:51PM +0100, Guennadi Liakhovetski wrote:
> > @@ -997,7 +991,7 @@ static bool usbhsf_dma_filter(struct dma_chan *chan, void *param)
> > *
> > * usbhs doesn't recognize id = 0 as valid DMA
> > */
> > - if (0 == slave->slave_id)
> > + if (0 == slave->simple_slave.slave_id)
> > return false;
> >
> > chan->private = slave;
> > @@ -1176,8 +1170,8 @@ int usbhs_fifo_probe(struct usbhs_priv *priv)
> > fifo->port = D0FIFO;
> > fifo->sel = D0FIFOSEL;
> > fifo->ctr = D0FIFOCTR;
> > - fifo->tx_slave.slave_id = usbhs_get_dparam(priv, d0_tx_id);
> > - fifo->rx_slave.slave_id = usbhs_get_dparam(priv, d0_rx_id);
> > + fifo->tx_slave.simple_slave.slave_id = usbhs_get_dparam(priv, d0_tx_id);
> > + fifo->rx_slave.simple_slave.slave_id = usbhs_get_dparam(priv, d0_rx_id);
>
> what are these "simple_slave" changes ? They have nothing to do with
> $SUBJECT ? In fact, breaks my gadget branch.

Hrrrm... Right, sorry, that's clearly unrelated...

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
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/