OSDN Git Service

ALSA: hda: Enable sync-write operation as default for all controllers
authorTakashi Iwai <tiwai@suse.de>
Thu, 18 Jun 2020 14:40:51 +0000 (16:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Jun 2020 10:05:02 +0000 (12:05 +0200)
commitf34a4c9dd4ca44b6af82ca078ff949e74c46071d
tree19f91ea96ea315642e8efa05f08b563ab8b22be4
parentc32a5fbc180218aa3ec3bf8063e631ff5e24b636
ALSA: hda: Enable sync-write operation as default for all controllers

In the end we already enabled the sync-write mode for most of HD-audio
controllers including Intel, and it's no big merit to keep the async
write mode for the rest.  Let's make it as default and drop the
superfluous AZX_DCAPS_SYNC_WRITE bit flag.

Also, avoid to set the allow_bus_reset flag, which is a quite unstable
and hackish behavior that was needed only for some early platforms
(decades ago).  The straight fallback to the single cmd mode is more
robust.

Link: https://lore.kernel.org/r/20200618144051.7415-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_controller.h
sound/pci/hda/hda_intel.c