Hello all.
Thank you for comments and thanks to Peter for advice on constraints and ALSA in general.
New in this version:
1. Now constraints are used in the start-up function. It wasn't as big a deal as I thought... Also now the codec is always in full duplex mode. But it still refuses to do the wrong thing with FM as real full duplex is then impossible.
2. Fixed the exported mode support function. The name in now wl1273_get_format and it returns the audio interface format.
3. Removed the remaining obsolete functions.
4. Not actually new but...
I didn't do this yet. But could you give me the git URL and then I'll resend?
git://git.kernel.org/pub/scm/linux/kernel/git/lrg/sound-2.6.git
I tried the corresponding http URL
http://www.kernel.org/pub/scm/linux/kernel/git/lrg/sound-2.6.git but got
fatal: http://www.kernel.org/pub/scm/linux/kernel/git/lrg/sound-2.6.git/info/refs not found: did you run git update-server-info on the server?
Cheers, Matti
Matti J. Aaltonen (1): ASoC: TI WL1273 FM Radio Codec.
sound/soc/codecs/wl1273.c | 598 +++++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/wl1273.h | 43 ++++ 2 files changed, 641 insertions(+), 0 deletions(-) create mode 100644 sound/soc/codecs/wl1273.c create mode 100644 sound/soc/codecs/wl1273.h