author | Xindong Xu <xindong.xu@amlogic.com> | 2019-08-01 05:46:00 (GMT) |
---|---|---|
committer | Tellen Yu <tellen.yu@amlogic.com> | 2019-08-02 10:32:48 (GMT) |
commit | 90b83c13f98282a7ff871a6a31afb86e742fb96c (patch) | |
tree | c82abcaf75e05b92671851b4b01e23a477079e38 | |
parent | 3b1c049c3ceec88cd92298496e3ab293c89476fd (diff) | |
download | uboot-90b83c13f98282a7ff871a6a31afb86e742fb96c.zip uboot-90b83c13f98282a7ff871a6a31afb86e742fb96c.tar.gz uboot-90b83c13f98282a7ff871a6a31afb86e742fb96c.tar.bz2 |
fastboot: fastboot unlock cmd will unlock_critical meanwhile [1/1]
PD#SWPL-12225
Problem:
we need unlock & unlock_critical to unlock devices
Solution:
fastboot unlock cmd will unlock_critical meanwhile
Vefiry:
deadpool
Change-Id: I5160f2ae6bbd08c87563d1f1585078cef8abb8e9
-rw-r--r-- | drivers/usb/gadget/f_fastboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 1d2bc60..00b3c83 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -1156,6 +1156,7 @@ static void cb_flashing(struct usb_ep *ep, struct usb_request *req) } } info->lock_state = 0; + info->lock_critical_state = 0; } else if (!strcmp_l1("lock", cmd)) { if (info->lock_state == 0 ) { char *avb_s; |