linux-stable/sound
Jason A. Donenfeld d49a4891f0 ALSA: rme9652: use explicitly signed char
commit 50895a55bc upstream.

With char becoming unsigned by default, and with `char` alone being
ambiguous and based on architecture, signed chars need to be marked
explicitly as such. This fixes warnings like:

sound/pci/rme9652/hdsp.c:3953 hdsp_channel_buffer_location() warn: 'hdsp->channel_map[channel]' is unsigned
sound/pci/rme9652/hdsp.c:4153 snd_hdsp_channel_info() warn: impossible condition '(hdsp->channel_map[channel] < 0) => (0-255 < 0)'
sound/pci/rme9652/rme9652.c:1833 rme9652_channel_buffer_location() warn: 'rme9652->channel_map[channel]' is unsigned

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221025000313.546261-1-Jason@zx2c4.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-04 00:00:18 +09:00
..
ac97 ALSA: ac97: Replace sprintf() with sysfs_emit() 2022-08-02 16:03:41 +02:00
aoa ALSA: aoa: Replace sprintf() with sysfs_emit() 2022-08-02 16:03:42 +02:00
arm
atmel
core ALSA: control: add snd_ctl_rename() 2022-11-04 00:00:17 +09:00
drivers ALSA: aloop: Fix random zeros in capture data when using jiffies timer 2022-09-02 08:58:20 +02:00
firewire
hda ALSA: intel-dspconfig: add ES8336 support for AlderLake-PS 2022-10-21 12:39:15 +02:00
i2c
isa ALSA: wavefront: remove redundant assignment to pointer end 2022-07-04 14:29:27 +02:00
mips
oss
parisc
pci ALSA: rme9652: use explicitly signed char 2022-11-04 00:00:18 +09:00
pcmcia
ppc
sh
soc ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table 2022-10-21 12:39:16 +02:00
sparc
spi sound:spi: remove reference to AVR32 in Atmel AT73C213 DAC driver 2022-08-03 11:11:26 +02:00
synth ALSA: Use del_timer_sync() before freeing timer 2022-11-04 00:00:17 +09:00
usb ALSA: usb-audio: Use snd_ctl_rename() to rename a control 2022-11-04 00:00:17 +09:00
virtio
x86 ALSA: x86: intel_hdmi_audio: use pm_runtime_resume_and_get() 2022-06-17 10:46:38 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c