From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mack Subject: Re: usb-audio code refactoring, more v2 support [resend] Date: Fri, 5 Mar 2010 08:52:03 +0100 Message-ID: <20100305075203.GS28972@buzzloop.caiaq.de> References: <1267774885-16266-1-git-send-email-daniel@caiaq.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from buzzloop.caiaq.de (buzzloop.caiaq.de [212.112.241.133]) by alsa0.perex.cz (Postfix) with ESMTP id 3C2C9103A14 for ; Fri, 5 Mar 2010 08:52:11 +0100 (CET) Content-Disposition: inline In-Reply-To: <1267774885-16266-1-git-send-email-daniel@caiaq.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, clemens@ladisch.de List-Id: alsa-devel@alsa-project.org On Fri, Mar 05, 2010 at 08:41:17AM +0100, Daniel Mack wrote: > This is a rebased version of the usb-audio cleanup patch set. > On top of what's already been posted, there is one more fix to support > sample rate configuration, and one bugfix. > > Commit 864c11080 was also ported over. And Clemens' latest patches > are also included. > > With these patches applied, I can stream audio on a class v2 device. > At least for awhile, then I get CRC errors in DATA0 packets. But > that's a different issue. > > What's not yet done is all the feature unit parsing, mixers etc. > > Daniel > > [PATCH 1/8] ALSA: usb-audio: move ua101 driver > [PATCH 2/8] ALSA: usb-audio: header file cleanups > [PATCH 3/8] ALSA: usb-audio: refactor code > [PATCH 4/8] ALSA: usb-audio: rename substream format field to altset_idx > [PATCH 5/8] ALSA: usb-audio: use a format bitmask per alternate setting > [PATCH 6/8] ALSA: usb-audio: support multiple formats with audio class v2 devices > [PATCH 7/8] ALSA: usb-audio: add support for samplerate setting on v2 devices > [PATCH 8/8] usb/audio.h: Fix field order Takashi applied all these now to a new branch. Even though the changes made to the driver should only affect devices compliant to v2 of the USB audio standard, I could have introduced bugs when refactoring the code. So - if anyone with a common USB audio device could try this branch and report any regressions, that would help a lot, and make the branch merge smoother eventually. git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git topic/usb Thanks, Daniel