android_kernel_samsung_a7y1.../sound/pci/hda
Anders Roxell d6f6b63fcb ALSA: hda: fix unused variable warning
[ Upstream commit 5b03006d5c58ddd31caf542eef4d0269bcf265b3 ]

When CONFIG_X86=n function azx_snoop doesn't use the variable chip it
only returns true.

sound/pci/hda/hda_intel.c: In function ‘dma_alloc_pages’:
sound/pci/hda/hda_intel.c:2002:14: warning: unused variable ‘chip’ [-Wunused-variable]
  struct azx *chip = bus_to_azx(bus);
              ^~~~

Create a inline function of azx_snoop.

Fixes: a41d122449be ("ALSA: hda - Embed bus into controller object")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:39:13 +02:00
..
ca0132_regs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dell_wmi_helper.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_auto_parser.c ALSA: hda - Fix potential endless loop at applying quirks 2020-04-06 21:34:49 +02:00
hda_auto_parser.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_beep.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_beep.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_bind.c ALSA: hda - Fix pending unsol events at shutdown 2020-04-07 12:46:17 +02:00
hda_codec.c ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec 2020-04-06 10:58:20 +02:00
hda_codec.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_controller_trace.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_controller.c ALSA: hda - Downgrade error message for single-cmd fallback 2020-04-07 13:23:47 +02:00
hda_controller.h ALSA: hda: fix unused variable warning 2020-04-07 13:39:13 +02:00
hda_eld.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_generic.c ALSA: hda/realtek - Fix overridden device-specific initialization 2020-04-06 21:34:51 +02:00
hda_generic.h ALSA: hda/realtek - Fix overridden device-specific initialization 2020-04-06 21:34:51 +02:00
hda_hwdep.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_intel_trace.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_intel.c ALSA: hda - Fix pending unsol events at shutdown 2020-04-07 12:46:17 +02:00
hda_intel.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_jack.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_jack.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_local.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_proc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_tegra.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
local.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
patch_analog.c ALSA: hda - Add laptop imic fixup for ASUS M9V laptop 2020-04-07 07:36:40 +02:00
patch_ca0110.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
patch_ca0132.c ALSA: hda/ca0132 - Avoid endless loop 2020-04-07 13:20:00 +02:00
patch_cirrus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
patch_cmedia.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
patch_conexant.c ALSA: hda - Add a conexant codec entry to let mute led work 2020-04-06 20:16:48 +02:00
patch_hdmi.c ALSA: hda/hdmi - Consider eld_valid when reporting jack event 2020-04-06 18:12:20 +02:00
patch_realtek.c ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93 2020-04-07 07:39:23 +02:00
patch_si3054.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
patch_sigmatel.c ALSA: hda/sigmatel - Disable automute for Elo VuPoint 2020-04-07 12:32:36 +02:00
patch_via.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
thinkpad_helper.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30