Re: [PATCH 5/6] usb: r8a66597-udc: Make BUSWAIT configurable through platform data

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

 



Hi Sebastian,

2011/07/07 17:16, Sebastian Andrzej Siewior wrote:
> * Yoshihiro Shimoda | 2011-07-07 09:58:09 [+0900]:
> 
>> diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c
>> index 8712546..fcfd5c5 100644
>> --- a/drivers/usb/gadget/r8a66597-udc.c
>> +++ b/drivers/usb/gadget/r8a66597-udc.c
>> @@ -576,7 +576,9 @@ static void init_controller(struct r8a66597 *r8a66597)
>> 	u16 endian = r8a66597->pdata->endian ? BIGEND : 0;
>>
>> 	if (r8a66597->pdata->on_chip) {
>> -		r8a66597_bset(r8a66597, 0x04, SYSCFG1);
>> +		if (r8a66597->pdata->buswait)
>> +			r8a66597_write(r8a66597, r8a66597->pdata->buswait,
>> +					SYSCFG1);
> 
> Where is this 15 aka sane default applied?
> 

Oh, I forgot it. I will fix the code.

Best regards,
Yoshihiro Shimoda
--
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