mirror of https://gitee.com/openkylin/linux.git
drm/radeon: fix register name to match internal name
no functional change. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7a42e83d36
commit
f68fdbe425
|
@ -289,7 +289,7 @@ void dce6_audio_enable(struct radeon_device *rdev,
|
|||
if (!pin)
|
||||
return;
|
||||
|
||||
WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL,
|
||||
WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL,
|
||||
enable ? AUDIO_ENABLED : 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -736,7 +736,7 @@
|
|||
# define DESCRIPTION16(x) (((x) & 0xff) << 0)
|
||||
# define DESCRIPTION17(x) (((x) & 0xff) << 8)
|
||||
|
||||
#define AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL 0x54
|
||||
#define AZ_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL 0x54
|
||||
# define AUDIO_ENABLED (1 << 31)
|
||||
|
||||
#define AZ_F0_CODEC_PIN_CONTROL_RESPONSE_CONFIGURATION_DEFAULT 0x56
|
||||
|
|
Loading…
Reference in New Issue