aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoyster <oysterized@gmail.com>2016-10-03 14:27:02 +0200
committerMoyster <oysterized@gmail.com>2016-11-07 13:44:22 +0100
commit9a7858491639342b5d3c8d496d3b9370d2330591 (patch)
tree845b4d13fa69c77c2d94574a9d019751a12674fb
parente1e9660835f7200097f9b1f96f08f251eb495891 (diff)
hand-pick: mediatek:remove unnecessary sido call flow
Problem: unnecessary sido call flow cause watchdog timeout Solution: remove unnecessary part that cause the issue Bug num:20566147 Change-Id: Iee332f38d339808f7245b4b0271b0f353f4081c4 Signed-off-by: yang-cy.chen <yang-cy.chen@mediatek.com>
-rw-r--r--drivers/misc/mediatek/connectivity/common_detect/wmt_detect.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/misc/mediatek/connectivity/common_detect/wmt_detect.c b/drivers/misc/mediatek/connectivity/common_detect/wmt_detect.c
index 3d137a047..f2f7322c8 100644
--- a/drivers/misc/mediatek/connectivity/common_detect/wmt_detect.c
+++ b/drivers/misc/mediatek/connectivity/common_detect/wmt_detect.c
@@ -137,15 +137,6 @@ static long wmt_detect_unlocked_ioctl(struct file *filp, unsigned int cmd, unsig
/*get soc chipid by HAL interface*/
break;
- case COMBO_IOCTL_MODULE_CLEANUP:
- #if (MTK_WCN_REMOVE_KO)
- /*deinit SDIO-DETECT module*/
- retval = sdio_detect_exit();
- #else
- WMT_DETECT_INFO_FUNC("no MTK_WCN_REMOVE_KO defined\n");
- #endif
- break;
-
case COMBO_IOCTL_DO_MODULE_INIT:
#if (MTK_WCN_REMOVE_KO)
/*deinit SDIO-DETECT module*/
@@ -279,9 +270,6 @@ static int wmt_detect_init(void)
WMT_DETECT_INFO_FUNC("driver(major %d) installed success\n", gWmtDetectMajor);
- /*init SDIO-DETECT module*/
- sdio_detect_init();
-
return 0;
err2: