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
File | Mode | Size |
---|---|---|
ad1816a | ||
ad1848 | ||
cs423x | ||
es1688 | ||
galaxy | ||
gus | ||
msnd | ||
opti9xx | ||
sb | ||
wavefront | ||
wss | ||
Kconfig | -rw-r--r-- | 12.7 KB |
Makefile | -rw-r--r-- | 892 bytes |
adlib.c | -rw-r--r-- | 2.7 KB |
als100.c | -rw-r--r-- | 9.7 KB |
azt2320.c | -rw-r--r-- | 8.9 KB |
cmi8328.c | -rw-r--r-- | 13.5 KB |
cmi8330.c | -rw-r--r-- | 21.8 KB |
es18xx.c | -rw-r--r-- | 68.3 KB |
opl3sa2.c | -rw-r--r-- | 28.4 KB |
sc6000.c | -rw-r--r-- | 17.1 KB |
sscape.c | -rw-r--r-- | 32.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...