Add many SigmaTel codec files from codecgraph

Import several SigmaTel STAC codec files from the codecgraph project. These
are codec files only, not full alsa-info output. Codecs include:

Dell Inspiron 6400 (STAC9200)
Dell Latitude 120L (STAC9200)
Dell Latitude D520 (STAC9200)
Dell Latitude D620 (STAC9200)
Dell Latitude D820 (STAC9200)
Dell Precision 490 (STAC9200)
Gateway MT3707 (STAC9200)
LG LE50 (STAC9200)
Dell Vostro 1700 (STAC9205)
Apple MacBook (STAC9221 A1)
Intel DG965SS (STAC9227)
Intel DP965LT (STAC9227)
Dell XPS M1330 (STAC9228)
Gateway MP6954 (STAC9250)
Sony VAIO FE41E (STAC9872AK)

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add CMI codec file from codecgraph

Import LG LW60 C-Media CMI9880 codec file from the codecgraph project.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Trivial typo fixes

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add tab-completion for commands in shell

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Make readline completion functions static

A fixup for commit 8ef0062: declare local functions as static, and
cosmetic fixes in spacing.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Change shell parsing to match shortest non-ambiguous command

Previously shell commands were parsed by checking the first character
only. Changed the parser to match the shortest non-ambiguous command,
in such a way that invalid commands are not parsed as the valid command
that starts with the same character, and current command shortcuts are
retained as long as they are non-ambiguous.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Merge git://github.com/cmatsuoka/hda-emu
Add the sanity checks at setting pin control bits

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Fix the VREF check in set_pin_ctl()

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add alsa-info of Acer Aspire 5739G with ALC888 codec

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add the build of kernel/hda_auto_parser.*

Newly added for 3.5 kernel tree.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add alsa-info of HP Envy17 with IDT 92HD81Bx codec

This state is still with a wrong power-map value, see
  https://bugzilla.kernel.org/show_bug.cgi?id=43240

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add alsa-info of ASUS A6VM laptop with ALC880 codec

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Use static inline functions for *delay() and *sleep()

to shut up compile warings

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add ALC272X specific COEF0 value

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Allow dump only codec/FG info by passing "1"

also updated README for the corresponding part.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add alsa-info of eMachine eM350 with ALC272x codec

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add alsa-info of Toshiba Satellite P875 with ALC280 codec

Taken from https://bugs.launchpad.net/bugs/1017017

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Add a dummy linux/kernel.h

Otherwise getting a compile error about __u64 conflict with the recent
glibc.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
hda-emu: Add alsa info for Canonical certified systems

This commit contains 110 alsa infos, collected from systems that Canonical either
has certified, or is in progress of certifying.
It is my hope that they will be useful to upstream and help improve quality of
the HDA Intel driver.