/[openvortex]/alsa/pci/au88x0/au88x0_core.c
ViewVC logotype

Diff of /alsa/pci/au88x0/au88x0_core.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by vizard, Thu Jul 10 02:04:30 2003 UTC revision 1.29 by vizard, Thu Jul 10 22:06:58 2003 UTC
# Line 1941  void vortex_codec_write(ac97_t *codec, u Line 1941  void vortex_codec_write(ac97_t *codec, u
1941                  udelay(100);                  udelay(100);
1942                  if (lifeboat++ > POLL_COUNT) {                  if (lifeboat++ > POLL_COUNT) {
1943                          printk(KERN_ERR "vortex: ac97 codec stuck busy\n");                          printk(KERN_ERR "vortex: ac97 codec stuck busy\n");
1944                          spin_lock_irqsave(&card->lock, flags);                          spin_unlock_irqrestore(&card->lock, flags);
1945                          return;                          return;
1946                  }                  }
1947          }          }
# Line 1956  void vortex_codec_write(ac97_t *codec, u Line 1956  void vortex_codec_write(ac97_t *codec, u
1956                  udelay(100);                  udelay(100);
1957                  if (lifeboat++ > POLL_COUNT) {                  if (lifeboat++ > POLL_COUNT) {
1958                          printk(KERN_ERR "vortex: ac97 codec stuck busy\n");                          printk(KERN_ERR "vortex: ac97 codec stuck busy\n");
1959                          spin_lock_irqsave(&card->lock, flags);                          spin_unlock_irqrestore(&card->lock, flags);
1960                          return;                          return;
1961                  }                  }
1962          }          }
# Line 1981  unsigned short vortex_codec_read(ac97_t Line 1981  unsigned short vortex_codec_read(ac97_t
1981                  udelay(100);                  udelay(100);
1982                  if (lifeboat++ > POLL_COUNT) {                  if (lifeboat++ > POLL_COUNT) {
1983                          printk(KERN_ERR "vortex: ac97 codec stuck busy\n");                          printk(KERN_ERR "vortex: ac97 codec stuck busy\n");
1984                          spin_lock_irqsave(&card->lock, flags);                          spin_unlock_irqrestore(&card->lock, flags);
1985                          return 0xffff;                          return 0xffff;
1986                  }                  }
1987          }          }
# Line 1996  unsigned short vortex_codec_read(ac97_t Line 1996  unsigned short vortex_codec_read(ac97_t
1996                  udelay(100);                  udelay(100);
1997                  if (lifeboat++ > POLL_COUNT) {                  if (lifeboat++ > POLL_COUNT) {
1998                          printk(KERN_ERR "vortex: ac97 address never arrived\n");                          printk(KERN_ERR "vortex: ac97 address never arrived\n");
1999                          spin_lock_irqsave(&card->lock, flags);                          spin_unlock_irqrestore(&card->lock, flags);
2000                          return 0xffff;                          return 0xffff;
2001                  }                  }
2002          }          }

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26