diff --git a/build.sh b/build.sh index 345bc10933ef..41fc4eaed2ad 100644 --- a/build.sh +++ b/build.sh @@ -248,6 +248,7 @@ scripts/config --file out/.config \ -e MIUI_ZRAM_MEMORY_TRACKING \ -d CONFIG_MODULE_SIG_SHA512 \ -d CONFIG_MODULE_SIG_HASH \ + -e MI_SCHED \ -e MI_FRAGMENTION \ make $MAKE_ARGS -j$(nproc) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 290408cda787..ff4f067edc1d 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -2057,9 +2057,13 @@ __setup("androidboot.bootdevice=", get_android_boot_dev); */ static void ufs_qcom_parse_lpm(struct ufs_qcom_host *host) { +#if IS_ENABLED(CONFIG_BOARD_UMI) || IS_ENABLED(CONFIG_BOARD_THYME) + host->disable_lpm = false; +#else struct device_node *node = host->hba->dev->of_node; host->disable_lpm = of_property_read_bool(node, "qcom,disable-lpm"); +#endif if (host->disable_lpm) pr_info("%s: will disable all LPM modes\n", __func__); }