[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A41D470.3070507@atmel.com>
Date: Wed, 24 Jun 2009 09:23:28 +0200
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>
CC: linux-usb@...r.kernel.org, avictor.za@...il.com,
linux-kernel@...r.kernel.org, david-b@...bell.net,
haavard.skinnemoen@...el.com, patrice.vilchez@...el.com,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: [PATCH 1/3 v3] at91/USB: Add USB gadget driver selection for
at91sam9g45 series
Jean-Christophe PLAGNIOL-VILLARD :
> On 18:58 Tue 23 Jun , Nicolas Ferre wrote:
>> Add gadget USB drivers for at91sam9g45 series. Those SOC include
>> high speed USB interfaces.
>> The gadget driver is the already available atmel_usba_udc.
>>
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@...el.com>
>> ---
>> v2 -> v3: split patch to:
>> - gadget
>> - ohci
>> - ehci
>>
>> drivers/usb/gadget/Kconfig | 4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
>> index 080bb1e..9beea52 100644
>> --- a/drivers/usb/gadget/Kconfig
>> +++ b/drivers/usb/gadget/Kconfig
>> @@ -124,7 +124,7 @@ choice
>>
>> config USB_GADGET_AT91
>> boolean "Atmel AT91 USB Device Port"
>> - depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9
>> + depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9 && !ARCH_AT91SAM9G45
> same as ATMEL_FB
> it will be really better to define it at the soc level
No, I do not think this is relevant here.
For now, only 4 dependency on a line is totally acceptable. The cost of
the adding of a new configuration variable is too high in this case
(readability, simplicity, ease of use, etc.).
Best regards,
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists