msm: hdmi: Disable the HDMI driver on APQ8064
Prevent HDMI initialization from running on APQ8064.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
diff --git a/drivers/video/msm/hdmi_msm.c b/drivers/video/msm/hdmi_msm.c
index 5bc52ab..5a616ba 100644
--- a/drivers/video/msm/hdmi_msm.c
+++ b/drivers/video/msm/hdmi_msm.c
@@ -22,6 +22,7 @@
#include <mach/msm_hdmi_audio.h>
#include <mach/clk.h>
#include <mach/msm_iomap.h>
+#include <mach/socinfo.h>
#include "msm_fb.h"
#include "hdmi_msm.h"
@@ -3341,6 +3342,9 @@
int rc;
struct platform_device *fb_dev;
+ if (cpu_is_apq8064())
+ return -ENODEV;
+
if (!hdmi_msm_state) {
pr_err("%s: hdmi_msm_state is NULL\n", __func__);
return -ENOMEM;