Home
last modified time | relevance | path

Searched refs:left_change (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/pci/
H A Dazt3328.c796 int left_change = 0, right_change = 0; in snd_azf3328_mixer_write_volume_gradually() local
807 left_change = (curr_vol_left > dst_vol_left) ? -1 : 1; in snd_azf3328_mixer_write_volume_gradually()
817 if (left_change) { in snd_azf3328_mixer_write_volume_gradually()
819 curr_vol_left += left_change; in snd_azf3328_mixer_write_volume_gradually()
822 left_change = 0; in snd_azf3328_mixer_write_volume_gradually()
837 } while ((left_change) || (right_change)); in snd_azf3328_mixer_write_volume_gradually()