ALSA: hda: move polling_mode flag to struct hdac_bus
authorBard Liao <yung-chuan.liao@linux.intel.com>
Sun, 26 May 2019 16:58:34 +0000 (00:58 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 May 2019 05:52:02 +0000 (07:52 +0200)
commit8af42130b50c4d38f48fa82f3f7be4606d01f595
tree182bbd60e5530a4e00187f6d91a47f1ba4a78bae
parentbd2956e40edf2160f5c1a623d6d6c6ab7f8cd831
ALSA: hda: move polling_mode flag to struct hdac_bus

polling mode is a useful function in the get_response function. Move
polling_mode flag from struct azx to struct hdac_bus so people can
implement polling mode in their own get_response function without
adding a polling_mode flag in their local chip structure.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_controller.h
sound/pci/hda/hda_intel.c