snd_ac97_tune_hardware
Prev | AC97 Codec API | Next

## 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.

## Return

Zero if successful, or a negative error code on failure.

Prev | Up | Next
snd_ac97_resume | Home | snd_ac97_set_rate