drm/bridge: anx7625: Fill in empty ELD when no connector
authorHsin-Yi Wang <hsinyi@chromium.org>
Thu, 14 Apr 2022 09:00:04 +0000 (17:00 +0800)
committerRobert Foss <robert.foss@linaro.org>
Tue, 19 Apr 2022 13:54:56 +0000 (15:54 +0200)
commit97f2c684f34d386639926787fe5211d42b6f4e6f
tree963c38844ec645a9e6539837775204cef7db249c
parentc9b2d923befd8cee0b9d6cbd96128ec0bf44c881
drm/bridge: anx7625: Fill in empty ELD when no connector

Speaker may share I2S with DP and .get_eld callback will be called when
speaker is playing. When HDMI wans't connected, the connector will be
null. Instead of return an error, fill in empty ELD.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220414090003.1806535-1-hsinyi@chromium.org
drivers/gpu/drm/bridge/analogix/anx7625.c