From patchwork Tue Feb 14 16:09:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Birsan X-Patchwork-Id: 9572191 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D9C9560578 for ; Tue, 14 Feb 2017 16:14:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE554283F9 for ; Tue, 14 Feb 2017 16:14:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B31BD2841A; Tue, 14 Feb 2017 16:14:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9723A283F9 for ; Tue, 14 Feb 2017 16:14:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0ilBhOih8T9+QInNoMC9epzmnlShwRlC/bAL8OYiiCA=; b=rsdoWqJPLG4NJm M7CCbUklHcic4UpAkwMJ2BGPvtxf4Jl4kyPIK545aLl7VlSgoz7nhvAA46+Xo5ZdjPb4SDlkDQsVk Y+BS6606n5Kg8V8Tuo3mbMQy5SCUEBd1WSFMPFghmAUBvObZSk0M7LXUk697ccH8mv9ENyBBftbGV /l377Fay9he2hghriCpbQCpTz1BJ3dVjIiEXkv/4yL9JFh0HD4eoGiuQs9kt5eYa4F8/SeSXmwrwH 63hLRKp9t51AX4v37MNKxjbh9S0qsoPvgYwg0eTe2bWrQAFa0ekamoJSQkyeK9lJNdTp5Mdk9NpRO piotWblEAtSxXt/9Yt3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cdfjv-0004xp-R8; Tue, 14 Feb 2017 16:14:03 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdfjs-0004uw-U0 for linux-arm-kernel@bombadil.infradead.org; Tue, 14 Feb 2017 16:14:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=L8bwZBh3w8k6Cnt6vp0U29sXkXR/Gfiiw2/Q//zJ4mI=; b=Z2g5VDv5ZL4vw0b4JAd2m/Sf+ H8EX9wyWPXLaS/lEuoLR9/nDGGOOGDRWQujnvlQZc2hdkVmLlRu5U1y7oB0NWOntPIFdW3nqInBrM JBcqcLqaiGEpNJ5c0VW1EML+7iliT/ljkYPLmp6LOUFBrrAo/o4Jp4CAfsG7jIDLUsnj5coNayPI3 3XsSzHav2b7AggUi3vr6Lw1vmz5ljBogW9ak+8mPVHvsO16Q2k8k+VbePOVjZn24h0BG/e488U8jB A8cj5kWSmQVTn1Jh3uw/srp709K++zpcC/2Utp9df96tSStJsXlIBdxgLWDXocfnlRAN/lMezuSGf 6mjRam84A==; Received: from smtpout.microchip.com ([198.175.253.82] helo=email.microchip.com) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdfgf-0004wa-LD for linux-arm-kernel@lists.infradead.org; Tue, 14 Feb 2017 16:10:48 +0000 Received: from cristi-lnx.microchip.com (10.10.76.4) by chn-sv-exch06.mchp-main.com (10.10.76.107) with Microsoft SMTP Server id 14.3.181.6; Tue, 14 Feb 2017 09:10:39 -0700 From: To: , , , , , Subject: [PATCH 4/4 linux-next] usb: gadget: udc: atmel: Update Kconfig help for fifo_mode = 0 Date: Tue, 14 Feb 2017 18:09:06 +0200 Message-ID: <6ee2cab9ded640d183bf66865624a06ed6c62db8.1487007870.git.cristian.birsan@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170214_161041_826213_ADCBF2D0 X-CRM114-Status: GOOD ( 11.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: boris.brezillon@free-electrons.com, ludovic.desroches@atmel.com, alexandre.belloni@free-electrons.com, Cristian Birsan Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Cristian Birsan Update Kconfig help for fifo_mode = 0 to explain the behavior better. Signed-off-by: Cristian Birsan --- drivers/usb/gadget/udc/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig index 4b69f28..be94eb9 100644 --- a/drivers/usb/gadget/udc/Kconfig +++ b/drivers/usb/gadget/udc/Kconfig @@ -62,8 +62,9 @@ config USB_ATMEL_USBA The fifo_mode parameter is used to select endpoint allocation mode. fifo_mode = 0 is used to let the driver autoconfigure the endpoints. - In this case 2 banks are allocated for isochronous endpoints and - only one bank is allocated for the rest of the endpoints. + In this case, for ep1 2 banks are allocated if it works in isochronous + mode and only 1 bank otherwise. For the rest of the endpoints + only 1 bank is allocated. fifo_mode = 1 is a generic maximum fifo size (1024 bytes) configuration allowing the usage of ep1 - ep6