drm/radeon: fix register name to match internal name
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2014 20:19:04 +0000 (16:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Oct 2014 13:00:01 +0000 (09:00 -0400)
no functional change.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/dce6_afmt.c
drivers/gpu/drm/radeon/sid.h

index ab29f953a767318c5e06de2115a9cfde017a9c82..088d19c8f27e100c78a9f73d3da9f1ba24135797 100644 (file)
@@ -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);
 }
 
index fd414d34d885791ce8b85d303249805eb061ecbe..6635da9ec986f9b4eadfa50021f4f35cafe25a61 100644 (file)
 #       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