Re: patch "usb: musb: gadget: Unmapping the dma buffer when switching to PIO mode" added to gregkh-2.6 tree

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

 



2010/10/6  <gregkh@xxxxxxx>:
>

> @@ -298,7 +336,7 @@ static void txstate(struct musb *musb, s
>                        csr);
>
>  #ifndef        CONFIG_MUSB_PIO_ONLY
> -       if (is_dma_capable() && musb_ep->dma) {
> +       if (is_dma_capable() && !musb_ep->dma && musb->dma_controller) {

As I said before, the change above is absolutely unnecessary, and does
cause performance regression for usbtest #6.

Greg, need a patch or you will edit it yourself?

-- 
Lei Ming
--
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