msm_fb: display: remove LCDC_MUX_CTL configuration for msm 7x27a
Remove RPC call to configure LCDC_MUX_CTL from apps for lcdc
interface on msm7x27a. Modem will configure the same going forward
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c
index 477a372..29a0272 100644
--- a/arch/arm/mach-msm/board-msm7x27a.c
+++ b/arch/arm/mach-msm/board-msm7x27a.c
@@ -1539,44 +1539,6 @@
early_param("fb_size", fb_size_setup);
-
-#define LCDC_CONFIG_PROC 21
-#define LCDC_UN_CONFIG_PROC 22
-#define LCDC_API_PROG 0x30000066
-#define LCDC_API_VERS 0x00010001
-
-static struct msm_rpc_endpoint *lcdc_ep;
-
-static int msm_fb_lcdc_config(int on)
-{
- int rc = 0;
- struct rpc_request_hdr hdr;
-
- if (on)
- pr_info("lcdc config\n");
- else
- pr_info("lcdc un-config\n");
-
- lcdc_ep = msm_rpc_connect_compatible(LCDC_API_PROG, LCDC_API_VERS, 0);
-
- if (IS_ERR(lcdc_ep)) {
- printk(KERN_ERR "%s: msm_rpc_connect failed! rc = %ld\n",
- __func__, PTR_ERR(lcdc_ep));
- return -EINVAL;
- }
-
- rc = msm_rpc_call(lcdc_ep,
- (on) ? LCDC_CONFIG_PROC : LCDC_UN_CONFIG_PROC,
- &hdr, sizeof(hdr), 5 * HZ);
-
- if (rc)
- printk(KERN_ERR
- "%s: msm_rpc_call failed! rc = %d\n", __func__, rc);
-
- msm_rpc_close(lcdc_ep);
- return rc;
-}
-
static const char * const msm_fb_lcdc_vreg[] = {
"gp2",
"msme1",
@@ -1744,7 +1706,7 @@
static struct lcdc_platform_data lcdc_pdata = {
- .lcdc_gpio_config = msm_fb_lcdc_config,
+ .lcdc_gpio_config = NULL,
.lcdc_power_save = msm_fb_lcdc_power_save,
};