From: Takashi Iwai Subject: Re: [PATCH 0/4] ALSA: usb: misc consistency fixes Date: Fri, 21 Jun 2013 14:48:24 +0200 Message-ID: References: <1371813111-26661-1-git-send-email-ao2@amarulasolutions.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B5DD526556B for ; Fri, 21 Jun 2013 14:47:28 +0200 (CEST) In-Reply-To: <1371813111-26661-1-git-send-email-ao2@amarulasolutions.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Antonio Ospite Cc: alsa-devel@alsa-project.org, Clemens Ladisch , Karsten Wiese , Torsten Schenk , Daniel Mack , Michael Trimarchi List-Id: alsa-devel@alsa-project.org At Fri, 21 Jun 2013 13:11:47 +0200, Antonio Ospite wrote: > > Hi, > > when working on the hiFace driver (which I plan on re-sending later > today BTW) I've been reading the code of other drivers and I've stumbled > on a couple of minor inconsistencies which were also spotted during the > review rounds for the hiFace driver. > > I am sending some patches to address these issues, so that new drivers > authors won't do the same mistakes I did when copying code over. > > Please take a closer look at the ones about vmalloc buffers, do we need > an actual Tested-by for these? Well, these drivers do just simple memcpy() from the buffer, so this must work with vmalloced buffer like the generic usb-audio driver. So I took all patches now. Let me know if this causes unexpected results. thanks, Takashi > Patches are against 3.10-rc6. > > Thanks, > Antonio > > Antonio Ospite (4): > ALSA: snd-usb-caiaq: remove the unused snd_card_used variable > ALSA: snd-usb-caiaq: use vmalloc buffers > ALSA: snd-usb-6fire: use vmalloc buffers > ALSA: usb: uniform style used in MODULE_SUPPORTED_DEVICE() > > sound/usb/6fire/chip.c | 2 +- > sound/usb/6fire/pcm.c | 12 +++++------- > sound/usb/caiaq/audio.c | 12 +++++------- > sound/usb/caiaq/device.c | 31 +++++++++++++++---------------- > sound/usb/usx2y/usbusx2y.c | 2 +- > 5 files changed, 27 insertions(+), 32 deletions(-) > > -- > Antonio Ospite > http://ao2.it > > A: Because it messes up the order in which people normally read text. > See http://en.wikipedia.org/wiki/Posting_style > Q: Why is top-posting such a bad thing? >