mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "cnss2: Allow cold boot calibration skip for debug"
This commit is contained in:
commit
c8c83a1c2b
1 changed files with 4 additions and 0 deletions
|
|
@ -201,6 +201,9 @@ static ssize_t cnss_dev_boot_debug_write(struct file *fp,
|
|||
clear_bit(CNSS_DRIVER_DEBUG, &plat_priv->driver_state);
|
||||
} else if (sysfs_streq(cmd, "assert")) {
|
||||
ret = cnss_force_fw_assert(&pci_priv->pci_dev->dev);
|
||||
} else if (sysfs_streq(cmd, "set_cbc_done")) {
|
||||
cnss_pr_dbg("Force set cold boot cal done status\n");
|
||||
set_bit(CNSS_COLD_BOOT_CAL_DONE, &plat_priv->driver_state);
|
||||
} else {
|
||||
cnss_pr_err("Device boot debugfs command is invalid\n");
|
||||
ret = -EINVAL;
|
||||
|
|
@ -225,6 +228,7 @@ static int cnss_dev_boot_debug_show(struct seq_file *s, void *data)
|
|||
seq_puts(s, "powerup: full power on sequence to boot device, download FW and do QMI handshake with FW\n");
|
||||
seq_puts(s, "shutdown: full power off sequence to shutdown device\n");
|
||||
seq_puts(s, "assert: trigger firmware assert\n");
|
||||
seq_puts(s, "set_cbc_done: Set cold boot calibration done status\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue