19 Aug 22:33
[PATCH] Try to make our poor little ALS4000 driver worthy of its copious public specs (first step)
From: Andreas Mohr <andi <at> lisas.de>
Subject: [PATCH] Try to make our poor little ALS4000 driver worthy of its copious public specs (first step)
Newsgroups: gmane.linux.alsa.devel
Date: 2008-08-19 20:34:44 GMT
Subject: [PATCH] Try to make our poor little ALS4000 driver worthy of its copious public specs (first step)
Newsgroups: gmane.linux.alsa.devel
Date: 2008-08-19 20:34:44 GMT
[with not-quite-so-unintentional CCs added]
Hi,
there you have it: Linux developers are hypocrites ;)
Never omitting any opportunity to complain about missing vendor
cooperation, but what do they do once people actually do publish ample specs? -
yeah, you got that right: NOTHING!!
Let's try to change that, at least one bit at a time. ;)
ChangeLog:
- use specs-derived register name enums instead of open-coded numeric
values, for better understanding of things
- fix naming confusion ("gcr" was _NOT_ the GCR register stuff, but
instead the io _base_ which has multiplexed _access_ to GCR config
space, at _sub_ registers 0x08 and 0x0c)
- add FIXME comments about a race condition and MPU401 features
Oh, and I chose an abbreviated "ALS4K" prefix since I would have gotten
finger cramps otherwise.
Patch created on 2.6.27-rc1-git4 (no als4000.c changes up to -rc3, verified),
pushed through checkpatch.pl, verified on my ALS4000 card.
More work to follow... e.g. would be nice to get audio wakeup things to work,
since this would probably be the first (if admittedly crappy) sound card/driver
combo on Linux to support such features, thus a nice broadening of
Linux capabilities.
(Continue reading)
RSS Feed