diff options
author | Rex Lin <rexcylin@google.com> | 2023-04-07 13:42:41 +0800 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-04-11 21:09:31 +0000 |
commit | af0b24b93b4a044eb957aeefeab636abbda5bc62 (patch) | |
tree | 29b467b7af118def1184db5a745fc82085a03c2a | |
parent | c4c69506a5972e41b7c8fb34f4365c49457ca0cd (diff) | |
download | uwb-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |