From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:28002 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932915Ab0LTTd6 (ORCPT ); Mon, 20 Dec 2010 14:33:58 -0500 Message-ID: Date: Mon, 20 Dec 2010 11:33:44 -0800 (PST) Subject: Re: [RFC/PATCH v2] usb: Add streams support to epautoconf. From: merez@codeaurora.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Greg KH Cc: Maya Erez , linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, David Brownell , Greg Kroah-Hartman , linux-kernel@vger.kernel.org > On Thu, Dec 16, 2010 at 10:15AM, Greg KH wrote: > What do you exactly mean by "proprietary search algorithm"? Our implementation for finding an EP with the required number of streams may not fit the needs and platform definitions of all controllers. For example, having the minimum number of streams as a parameter will allow controllers to compromise on the number of required streams in case there is no EP that answers their first request. At the beginning of usb_ep_autoconfig we could see many if statements for finding the fitting EP for several controllers (for example gadget_is_net2280). The new gadget op will prevent having additional if statements in the usb_ep_autoconfig in case a different search is needed. Thanks, Maya Erez Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum