From: Takashi Iwai Subject: Re: Re: au88x0_mpu401 init / fail first open Date: Thu, 11 May 2006 17:01:37 +0200 Message-ID: References: <200605051139.34432.gineera@aspect135.co.uk> <200605101653.21574.gineera@aspect135.co.uk> <200605111552.15560.gineera@aspect135.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200605111552.15560.gineera@aspect135.co.uk> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alan Horstmann Cc: Clemens Ladisch , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 11 May 2006 15:52:15 +0100, Alan Horstmann wrote: > > On Thursday 11 May 2006 15:09, you wrote: > > At Wed, 10 May 2006 16:53:21 +0100, > > Alan Horstmann wrote: > > > > > > It seems that the behaviour of ENTER_UART is the same with other cards. > > > What is different is that au88x0_mpu401 sends it during init, which for > > > example ice1712 doesn't. The extra ENTER_UART then fouls up the first > > > output_open in mpu401_uart. Removing it as per attached diff is > > > successful. Is this a reasonable thing to do? > > > > Actually, both RESET and ENTER_UART are issued at open in > > mpu401_uart.c, so they are basically unnecessary to be called here... > > Thanks for the confirmation. The au88x0 init uses the ACK received to check > the port is functioning OK so it seemed best to leave RESET as it caused no > problems. > > In the diff I attached, the lines are just //out so it can be seen what has > been taken out in case of breaking something else. Is it preferable to > remove them altogether instead? Yes but only if the patched code is confirmed to work :) Takashi ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642