From: Takashi Iwai Subject: Re: [PATCH] ALSA: snd_usb_caiaq: set mixername Date: Thu, 11 Jun 2009 03:03:41 +0200 Message-ID: References: <1244662321-20862-1-git-send-email-daniel@caiaq.de> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 1F41D103802 for ; Thu, 11 Jun 2009 03:03:42 +0200 (CEST) In-Reply-To: <1244662321-20862-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: Daniel Mack Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 10 Jun 2009 21:32:01 +0200, Daniel Mack wrote: > > alsamixer and friends want the mixername to be set. Even though the > driver does not exports a real mixer device, export the name doesn't > harm. > > Signed-off-by: Daniel Mack Applied now. Thanks. Takashi > --- > sound/usb/caiaq/device.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c > index b9a2b31..2240624 100644 > --- a/sound/usb/caiaq/device.c > +++ b/sound/usb/caiaq/device.c > @@ -35,7 +35,7 @@ > #include "input.h" > > MODULE_AUTHOR("Daniel Mack "); > -MODULE_DESCRIPTION("caiaq USB audio, version 1.3.15"); > +MODULE_DESCRIPTION("caiaq USB audio, version 1.3.16"); > MODULE_LICENSE("GPL"); > MODULE_SUPPORTED_DEVICE("{{Native Instruments, RigKontrol2}," > "{Native Instruments, RigKontrol3}," > @@ -426,6 +426,7 @@ static int __devinit init_card(struct snd_usb_caiaqdev *dev) > > strlcpy(card->driver, MODNAME, sizeof(card->driver)); > strlcpy(card->shortname, dev->product_name, sizeof(card->shortname)); > + strlcpy(card->mixername, dev->product_name, sizeof(card->mixername)); > > /* if the id was not passed as module option, fill it with a shortened > * version of the product string which does not contain any > -- > 1.6.3.1 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >