Revision 5896585512e5156482335e902f7c7393b940da51 authored by Furquan Shaikh on 20 August 2020, 07:52:41 UTC, committed by Alex Deucher on 26 August 2020, 19:13:14 UTC
In `amdgpu_dm_update_backlight_caps()`, there is a local `amdgpu_dm_backlight_caps` object that is filled in by `amdgpu_acpi_get_backlight_caps()`. However, this object is uninitialized before the call and hence the subsequent check for aux_support can fail since it is not initialized by `amdgpu_acpi_get_backlight_caps()` as well. This change initializes this local `amdgpu_dm_backlight_caps` object to 0. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Furquan Shaikh <furquan@google.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 168f09c
Kconfig
# SPDX-License-Identifier: GPL-2.0-only
# ALSA Sparc drivers
menuconfig SND_SPARC
bool "Sparc sound devices"
depends on SPARC
default y
help
Support for sound devices specific to Sun SPARC architectures.
if SND_SPARC
config SND_SUN_AMD7930
tristate "Sun AMD7930"
depends on SBUS
select SND_PCM
help
Say Y here to include support for AMD7930 sound device on Sun.
To compile this driver as a module, choose M here: the module
will be called snd-sun-amd7930.
config SND_SUN_CS4231
tristate "Sun CS4231"
select SND_PCM
select SND_TIMER
help
Say Y here to include support for CS4231 sound device on Sun.
To compile this driver as a module, choose M here: the module
will be called snd-sun-cs4231.
config SND_SUN_DBRI
tristate "Sun DBRI"
depends on SBUS
select SND_PCM
help
Say Y here to include support for DBRI sound device on Sun.
To compile this driver as a module, choose M here: the module
will be called snd-sun-dbri.
endif # SND_SPARC
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...