diff options
| author | Shangbing Hu <shangbing.hu@mediatek.com> | 2016-07-13 06:23:24 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-05-16 13:21:02 +0200 |
| commit | 81dc72af9d0dfda123ea52adcf2695bfa4bfe029 (patch) | |
| tree | f66e2bc449d09adb5f91d4b1d1f7d6183294bea5 /drivers/misc | |
| parent | f4d1b868bd69f200057e681a17574bfd669d96d9 (diff) | |
AEE: disable aee_kernel_dal_api.
[Detail] the red screen feature should be available only for AEE,
or it would make users confused about whether AEE workes well.
[Solution] Disable this api.
MTK-Commit-Id: 47ccf5e37ed8b58b51c90d29cb1f3fc644032af8
Change-Id: Ia85f398e367e062c89bcb751a8887fdae44d55f3
Signed-off-by: Shangbing Hu <shangbing.hu@mediatek.com>
CR-Id: ALPS02530766
Feature: Android Exception Engine(AEE)
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/mediatek/aee/aed/aed-main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/misc/mediatek/aee/aed/aed-main.c b/drivers/misc/mediatek/aee/aed/aed-main.c index cd8128225..b288029f6 100644 --- a/drivers/misc/mediatek/aee/aed/aed-main.c +++ b/drivers/misc/mediatek/aee/aed/aed-main.c @@ -1759,7 +1759,7 @@ static void kernel_reportAPI(const AE_DEFECT_ATTR attr, const int db_opt, const } } -#ifndef PARTIAL_BUILD +#if 0/*disable aee_kernel_dal_api*/ void aee_kernel_dal_api(const char *file, const int line, const char *msg) { LOGW("aee_kernel_dal_api : <%s:%d> %s ", file, line, msg); @@ -1803,8 +1803,7 @@ void aee_kernel_dal_api(const char *file, const int line, const char *msg) #else void aee_kernel_dal_api(const char *file, const int line, const char *msg) { - LOGW("aee_kernel_dal_api : <%s:%d> %s ", file, line, msg); - return; + LOGW("aee_kernel_dal_api has been phased out! caller info: <%s:%d> %s ", file, line, msg); } #endif EXPORT_SYMBOL(aee_kernel_dal_api); |
