diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-12-02 05:41:10 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-12-06 08:48:15 -0500 |
commit | 9719fcaa6a82be59a2d7767725e5cd8233c6a387 (patch) | |
tree | d9cbeec26ff94c135d15890cb7d9f5b6da5f40c7 /sound/pci/oxygen/oxygen.h | |
parent | e96f38f732d24515792296b3738842934c985539 (diff) |
ALSA: oxygen: allow to dump codec registers
To help with debugging, add the registers of the model-specific
codecs to the controller and AC97 register dump in the proc file.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r-- | sound/pci/oxygen/oxygen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index cf9054ecb97b..b8fbc15b89a3 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h | |||
@@ -66,6 +66,7 @@ struct snd_pcm_hardware; | |||
66 | struct snd_pcm_hw_params; | 66 | struct snd_pcm_hw_params; |
67 | struct snd_kcontrol_new; | 67 | struct snd_kcontrol_new; |
68 | struct snd_rawmidi; | 68 | struct snd_rawmidi; |
69 | struct snd_info_buffer; | ||
69 | struct oxygen; | 70 | struct oxygen; |
70 | 71 | ||
71 | struct oxygen_model { | 72 | struct oxygen_model { |
@@ -93,6 +94,8 @@ struct oxygen_model { | |||
93 | void (*uart_input)(struct oxygen *chip); | 94 | void (*uart_input)(struct oxygen *chip); |
94 | void (*ac97_switch)(struct oxygen *chip, | 95 | void (*ac97_switch)(struct oxygen *chip, |
95 | unsigned int reg, unsigned int mute); | 96 | unsigned int reg, unsigned int mute); |
97 | void (*dump_registers)(struct oxygen *chip, | ||
98 | struct snd_info_buffer *buffer); | ||
96 | const unsigned int *dac_tlv; | 99 | const unsigned int *dac_tlv; |
97 | unsigned long private_data; | 100 | unsigned long private_data; |
98 | size_t model_data_size; | 101 | size_t model_data_size; |