summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Lin <rexcylin@google.com>2023-04-07 13:42:41 +0800
committerTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-04-11 21:09:31 +0000
commitaf0b24b93b4a044eb957aeefeab636abbda5bc62 (patch)
tree29b467b7af118def1184db5a745fc82085a03c2a
parentc4c69506a5972e41b7c8fb34f4365c49457ca0cd (diff)
downloaduwb-af0b24b93b4a044eb957aeefeab636abbda5bc62.tar.gz
qm35: enable flash_on_probe
Since UWB_HAL is removed from factory target. So use driver to trigger the fw flash Bug: 270782475 Test: local verified pass Change-Id: Ibfdff7ede71bc53aa61c4ad48f47d7df0d6207db Signed-off-by: Rex Lin <rexcylin@google.com>
-rw-r--r--qm35-spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qm35-spi.c b/qm35-spi.c
index 70241e6..12fa1d8 100644
--- a/qm35-spi.c
+++ b/qm35-spi.c
@@ -74,7 +74,7 @@ static const struct of_device_id qm35_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, qm35_dt_ids);
-static bool flash_on_probe = false;
+static bool flash_on_probe = NO_UWB_HAL ? true : false;
module_param(flash_on_probe, bool, 0444);
MODULE_PARM_DESC(flash_on_probe, "Flash during the module probe");