diff options
author | Hermann Lauer <[email protected]> | 2008-01-30 08:25:13 +0100 |
---|---|---|
committer | Mercurial server <[email protected]> | 2008-01-31 17:30:23 +0100 |
commit | 19e2e3c30485ba78a653dc521ed9e1f2b6a8bee1 (patch) | |
tree | cd68c33c408bddc8c9f5a6cc44ec2eaf0d5c019c /net/unix/sysctl_net_unix.c | |
parent | 4979bca9dcfe4c21c26f378ce446c912fc583ac1 (diff) |
[ALSA] es1938 - improve capture hw pointer reads
With the Solo1 (es1938) I got a lot of xrun's during capture on my machine.
Tracing that down it seems to be comming from reading ocassionaly bad hw
pointers from the chip. This patch uses more checking to avoid that false
pointer reads.
Failed reads are giving back the last good value read instead of spinning in
a tight loop, which seems more appropriate to me in an interrupt. I think I
saw this trick used in another driver
Signed-off-by: Hermann Lauer <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions