On 10/31/2014 10:36 PM, Sebastian Andrzej Siewior wrote:
> diff --git a/drivers/usb/musb/musb_cppi41.c b/drivers/usb/musb/musb_cppi41.c
> index d16b7561cce4..355f0dac9f0f 100644
> --- a/drivers/usb/musb/musb_cppi41.c
> +++ b/drivers/usb/musb/musb_cppi41.c
> @@ -212,7 +212,7 @@ static enum hrtimer_restart cppi41_recheck_tx_req(struct 
> hrtimer *timer)
>       if (!list_empty(&controller->early_tx_list)) {
>               ret = HRTIMER_RESTART;
>               hrtimer_forward_now(&controller->early_tx,
> -                             ktime_set(0, 20 * NSEC_PER_USEC));
> +                             ktime_set(0, 150 * NSEC_PER_USEC));
>       }
>  
>       spin_unlock_irqrestore(&musb->lock, flags);
> @@ -293,14 +293,11 @@ static void cppi41_dma_callback(void *private_data)
>               }
>               list_add_tail(&cppi41_channel->tx_check,
>                               &controller->early_tx_list);
> -             if (!hrtimer_is_queued(&controller->early_tx)) {
> -                     unsigned long usecs = cppi41_channel->total_len / 10;
> -
> +             if (!hrtimer_is_queued(&controller->early_tx))
>                       hrtimer_start_range_ns(&controller->early_tx,
> -                             ktime_set(0, usecs * NSEC_PER_USEC),
> +                             ktime_set(0, 130 * NSEC_PER_USEC),
>                               20 * NSEC_PER_USEC,
>                               HRTIMER_MODE_REL);
> -             }
>       }
>  out:
>       spin_unlock_irqrestore(&musb->lock, flags);
> 

sending patches after 6pm on a Friday. This is the correct hunk :)

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

Reply via email to