]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Disable regmap internal locking
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2019 08:18:06 +0000 (09:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2019 11:54:53 +0000 (12:54 +0100)
commit7acce4b77ff46acec1d245481f538b9c75911fbf
treea44a41ac23b1abe5c6a9686336c2f9358b9edddc
parent0fd59ba3fde2f06c3dd0c40b8632b3c30bdcf507
ALSA: hda: Disable regmap internal locking

Since we apply the own mutex (bus->cmd_mutex) in HDA core side, the
internal locking in regmap is superfluous.  This patch adds the flag
to indicate that.

Also, an infamous side-effect by this change is that it disables the
regmap debugfs, too, and this is seen rather good; the regmap debugfs
isn't quite useful for HD-audio as it provides the very sparse
registers and its debugfs access tends to lead to the way too high
resource usages or sometimes hang up.  So it'd be rather safe to
disable it altogether.

Link: https://lore.kernel.org/r/2029139028.10333037.1572874551626.JavaMail.zimbra@redhat.com
Link: https://lore.kernel.org/r/20191105081806.4896-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_regmap.c