]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/mediatek: exit earlier if failed to register audio driver
authorTzung-Bi Shih <tzungbi@google.com>
Thu, 6 Feb 2020 03:17:50 +0000 (11:17 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 11 Feb 2020 11:47:59 +0000 (11:47 +0000)
commitf9eb06cd0cdd50a3125bc9c62cdc997dc461eae7
tree216f77054c4239c7712ff5ff40ad9561f4574470
parentf4d95de415b286090c1bf739c20a5ea2aefda834
drm/mediatek: exit earlier if failed to register audio driver

Exits earlier if register_audio_driver() returns errors.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Acked-by: CK Hu <ck.hu@mediatek.com>
Link: https://lore.kernel.org/r/20200206102509.1.Ieba8d422486264eb7aaa3aa257620a1b0c74c6db@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/gpu/drm/mediatek/mtk_hdmi.c