File tree Expand file tree Collapse file tree 3 files changed +2
-21
lines changed
Expand file tree Collapse file tree 3 files changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -7944,26 +7944,12 @@ static int ufshcd_reset_and_restore(struct ufs_hba *hba)
79447944 err = ufshcd_detect_device (hba );
79457945 } while (err && -- retries );
79467946
7947- <<<<<<< HEAD
79487947 /*
79497948 * There is no point proceeding even after failing
79507949 * to recover after multiple retries.
79517950 */
79527951 if (err && ufshcd_is_embedded_dev (hba ))
79537952 BUG ();
7954-
7955- /*
7956- * After reset the door-bell might be cleared, complete
7957- * outstanding requests in s/w here.
7958- */
7959- spin_lock_irqsave (hba -> host -> host_lock , flags );
7960- ufshcd_transfer_req_compl (hba );
7961- ufshcd_tmc_handler (hba );
7962- spin_unlock_irqrestore (hba -> host -> host_lock , flags );
7963-
7964- = == == ==
7965- >>>>>>> v4 .14.172
7966- return err ;
79677953}
79687954
79697955/**
Original file line number Diff line number Diff line change @@ -936,7 +936,6 @@ struct ufs_hba {
936936 bool force_host_reset ;
937937 bool auto_h8_err ;
938938 struct ufs_stats ufs_stats ;
939- bool silence_err_logs ;
940939
941940 /* Device management request data */
942941 struct ufs_dev_cmd dev_cmd ;
Original file line number Diff line number Diff line change 2626#include "u_os_desc.h"
2727#undef dev_dbg
2828#define dev_dbg dev_info
29- #undef pr_debug
29+ #undef pr_debug
3030#define pr_debug pr_info
3131/**
3232 * struct usb_os_string - represents OS String to be reported by a gadget
@@ -580,11 +580,7 @@ static u8 encode_bMaxPower(enum usb_device_speed speed,
580580 default :
581581 /* only SuperSpeed and faster support > 500mA */
582582 return DIV_ROUND_UP (min (val , 500U ), 2 );
583- }
584-
585- if (speed < USB_SPEED_SUPER )
586- return DIV_ROUND_UP (val , 8 );
587- else
583+ }
588584}
589585
590586static int config_buf (struct usb_configuration * config ,
You can’t perform that action at this time.
0 commit comments