Re: [PATCH] usb: dwc3: Create helper function getting MDWIDTH
From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Date: 2021-03-25 02:00:58
From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Date: 2021-03-25 02:00:58
Thinh Nguyen wrote:
Different controller IPs check different HW parameters for MDWIDTH. To help with maintainability, create a helper function to consolidate the logic in a single place. Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> --- drivers/usb/dwc3/core.h | 19 +++++++++++++++++-- drivers/usb/dwc3/debugfs.c | 12 ++++-------- drivers/usb/dwc3/gadget.c | 16 +++++----------- 3 files changed, 26 insertions(+), 21 deletions(-)
Sorry for the noise and please ignore the duplicate patch... Thanks, Thinh