[PATCH] usb: musb: make use_sg flag URB specific

2013-04-23 Thread Fabio Baltieri
From: Virupax Sadashivpetimath Since highmem PIO URB handling was introduced in: 8e8a551 usb: musb: host: Handle highmem in PIO mode when a URB is being handled it may happen that the static use_sg flag was set by a previous URB with buffer in highmem. This leads to error in handling the prese

[RFC][PATCH 1/1] USB/EHCI: work for different PHY_CLK_VALID detecting order

2013-04-23 Thread Tiejun Chen
Due to different controller issue of PHY_CLK_VALID in ULPI mode, in some cases, after set PHY_CLK_SEL, we should set USB_CTRL_USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID doesn't work. But in other cases USB_CTRL_USB_EN is already set previously and PHY_CLK_VALID is not valid once

Re: [PATCH 04/10] usb: musb: ux500: harden checks for platform data

2013-04-23 Thread Lee Jones
Hi Sergei, > > struct musb_hdrc_platform_data *plat = dev->platform_data; > >-struct ux500_musb_board_data *data = plat->board_data; > >+struct ux500_musb_board_data *data; > >-param_array = data->dma_rx_param_array; > >+param_array = (data) ? data->dma_rx_param_array : NULL;

<    1   2