ALSA: hda/tas2781: add locks to kcontrols
authorGergo Koteles <soyer@irl.hu>
Tue, 26 Mar 2024 16:18:46 +0000 (17:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Mar 2024 10:19:28 +0000 (11:19 +0100)
commit15bc3066d2378eef1b45254be9df23b0dd7f1667
tree2dd7bb0d72acd61dc5c6bbe3cc4695de7141759c
parentae065d0ce9e36ca4efdfb9b96ce3395bd1c19372
ALSA: hda/tas2781: add locks to kcontrols

The rcabin.profile_cfg_id, cur_prog, cur_conf, force_fwload_status
variables are acccessible from multiple threads and therefore require
locking.

Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")
CC: stable@vger.kernel.org
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Message-ID: <e35b867f6fe5fa1f869dd658a0a1f2118b737f57.1711469583.git.soyer@irl.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_i2c.c