Re: [PATCH v1 1/2] usb: musb: maintain three states for buffer mappings instead of two

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 04, 2011 at 12:47:02PM +0100, Mian Yousaf Kaukab wrote:
> If dma buffers are mapped by a higher layer, with a boolean musb_request.mapped
> it is still possible to call dma_sync_single_for_device() from
> musb_g_giveback(), even if txstate()/rxstate() has called unmap_dma_buffer()
> before falling back to pio mode.
> 
> Moreover, check for musb_ep->dma is moved within map_dma_buffer() so where
> applicable checks for it are removed. And where possible, checks for
> is_dma_capable() are merged with buffer map state check.
> 
> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@xxxxxxxxxxxxxx>

Finally back (and really sick), I picked up these two and will test in a
few minutes.

applied, thanks

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux