mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
2fe1b32156
Manually rebased: layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch All other patches automatically rebased. Build system: x86_64 Build-tested: ipq806x/R7800 Run-tested: ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us>
25 lines
812 B
Diff
25 lines
812 B
Diff
From 9ab73f9efe983f2f9b6887150a2e7a48d7a57ded Mon Sep 17 00:00:00 2001
|
|
From: Sandor Yu <Sandor.yu@nxp.com>
|
|
Date: Mon, 2 Sep 2019 15:58:34 +0800
|
|
Subject: [PATCH] drm: rockchip: Fix build failed issue
|
|
|
|
Macro variable AFMT_SPDIF have renamed to AFMT_SPDIF_INT in headfile.
|
|
use the correct variable to fix build issue.
|
|
|
|
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
|
|
---
|
|
drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
|
+++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
|
@@ -798,7 +798,7 @@ static int cdn_dp_audio_hw_params(struct
|
|
audio.format = AFMT_I2S;
|
|
break;
|
|
case HDMI_SPDIF:
|
|
- audio.format = AFMT_SPDIF;
|
|
+ audio.format = AFMT_SPDIF_INT;
|
|
break;
|
|
default:
|
|
DRM_DEV_ERROR(dev, "Invalid format %d\n", daifmt->fmt);
|