diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-05-23 16:04:19 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | bfa82fadcd51848c8ac7b927a1982e89b85a9645 (patch) | |
tree | 7e77abef914c46d6923bb972843869a5317c7591 | |
parent | ce64fc923e7cc8785512edc204ddcffcb33a1639 (diff) |
MLK-18368-8: imx-hdmi: change the platform device id for hdmi audio tx
platform device id of TX is 1, RX is 2.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
-rw-r--r-- | drivers/gpu/drm/imx/hdp/imx-hdp-audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp-audio.c b/drivers/gpu/drm/imx/hdp/imx-hdp-audio.c index 48bcc1e8e3f6..40313e011176 100644 --- a/drivers/gpu/drm/imx/hdp/imx-hdp-audio.c +++ b/drivers/gpu/drm/imx/hdp/imx-hdp-audio.c @@ -196,7 +196,7 @@ void imx_hdp_register_audio_driver(struct device *dev) struct platform_device *pdev; pdev = platform_device_register_data(dev, HDMI_CODEC_DRV_NAME, - PLATFORM_DEVID_NONE, &codec_data, + 1, &codec_data, sizeof(codec_data)); if (IS_ERR(pdev)) return; |