From: Takashi Iwai Subject: Re: ice712 -set mpu401 info flags from card info, patch Date: Fri, 26 May 2006 17:22:26 +0200 Message-ID: References: <200605242235.31408.gineera@aspect135.co.uk> <200605261609.16610.gineera@aspect135.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200605261609.16610.gineera@aspect135.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Alan Horstmann Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 26 May 2006 16:14:11 +0100, Alan Horstmann wrote: > = > On Friday 26 May 2006 12:11, you wrote: > > At Wed, 24 May 2006 22:35:31 +0100, > > > > Alan Horstmann wrote: > > > @@ -2736,9 +2737,10 @@ > > > } > > > > > > if (! c->no_mpu401) { > > > + c->mpu401_1_info_flags |=3D MPU401_INFO_INTEGRATED; > > > > Don't change the contents of card info here, instead... > > > > > if ((err =3D snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712, > > > - ICEREG(ice, MPU1_CTRL), > > > - MPU401_INFO_INTEGRATED, > > > + ICEREG(ice, MPU1_CTRL), > > > + c->mpu401_1_info_flags, > > > > ... add "| MPU401_INFO_INTEGRETED" at this point. > > (Ditto for mpu401_2_info_flags) > > > > Could you repost the fixed patch? > = > Fair comment, I shouldn't use it as a variable. Revised patch attached. > = > Alan > = > ice1712-mpu401-infoflags-2.patch > = > Summary: in ice1712, set mpu401 info flags from _card_info > = > To permit use, in ice1712, of the mpu401 info flags recently added to = > mpu401_uart, adds info_flags in snd_ice1712_card_info so that additional = > flags can be set, if desired. =A0'MPU401_INFO_INTEGRATED' is always set w= ith = > the ice1712. =A0The flags are passed on to snd_mpu401_uart_new(). =A0_INF= O_OUTPUT = > is set for DMX6fire mpu2. > = > Signed-off-by: Alan Horstmann Applied to HG repo. I folded too long lines but else applied as is. Thanks. Takashi