summaryrefslogtreecommitdiffstats
path: root/hw/audio/hda-codec-common.h
Commit message (Collapse)AuthorAgeFilesLines
* hda-codec: make mixemu selectable at runtimeBandan Das2013-09-241-55/+62
| | | | | | | | | | Define PARAM so that we have two versions of the "desc_codec and family" structs. Add a property called "mixer" whose default value depends on whether CONFIG_MIXEMU is defined or not which will help us call the appropriate instance init functions. Signed-off-by: Bandan Das <bsd@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* hda-codec: refactor common definitions into a header fileBandan Das2013-09-241-0/+449
Move common defines and structs to a header file. The next commit will include it twice, once for a device with a mixer, and once for device without a mixer. Signed-off-by: Bandan Das <bsd@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>