[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openvortex-dev] ac97 codec read-write cleanup in cvs
From: |
Ryan Underwood |
Subject: |
Re: [Openvortex-dev] ac97 codec read-write cleanup in cvs |
Date: |
Tue, 17 Jun 2003 06:40:13 -0500 |
User-agent: |
Mutt/1.5.4i |
Hi,
Just a quick note on the patch --
+ /* verify that the write succeeded */
+ if (vortex_codec_read(codec, addr) != data) {
+ printk(KERN_ERR "vortex: ac97 codec write failed\n");
I'm not sure if that's correct. The first read after the write will
always return the previous data, not the written data. That was the
problem that I started with. So, if this code actually works instead of
bailing with an error every time, I would be very surprised. I had to
read twice before the data would match what I wrote to the codec.
--
Ryan Underwood, <nemesis at icequake.net>, icq=10317253
Re: [Openvortex-dev] ac97 codec read-write cleanup in cvs, O.Sezer, 2003/06/16
Re: [Openvortex-dev] ac97 codec read-write cleanup in cvs, Manuel Jander, 2003/06/16
Re: [Openvortex-dev] ac97 codec read-write cleanup in cvs, Ryan Underwood, 2003/06/17
Re: [Openvortex-dev] ac97 codec read-write cleanup in cvs,
Ryan Underwood <=