Re: [PATCH] usb: dwc3: Create helper function getting MDWIDTH
From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Date: 2021-03-28 00:56:19
From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Date: 2021-03-28 00:56:19
Greg Kroah-Hartman wrote:
On Thu, Mar 25, 2021 at 02:00:14AM +0000, Thinh Nguyen wrote:quoted
Thinh Nguyen wrote:quoted
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...So was this the duplicate? I'm lost, so am dropping this one... thanks, greg k-h
Yeah... sorry about that. Just sent a v2 to resolve this. Thanks, Thinh