Name

snd_ac97_tune_hardware — tune up the hardware

Synopsis

int snd_ac97_tune_hardware (struct snd_ac97 *  ac97,
 struct ac97_quirk *  quirk,
 const char *  override);

Arguments

ac97

the ac97 instance

quirk

quirk list

override

explicit quirk value (overrides the list if non-NULL)

Description

Do some workaround for each pci device, such as renaming of the headphone (true line-out) control as “Master”. The quirk-list must be terminated with a zero-filled entry.

Returns zero if successful, or a negative error code on failure.