File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ static inline unsigned usb_dwc_ll_ghwcfg_get_hsphy_type(usb_dwc_dev_t *hw)
362362
363363static inline unsigned usb_dwc_ll_ghwcfg_get_channel_num (usb_dwc_dev_t * hw )
364364{
365- return hw -> ghwcfg2_reg .numhstchnl ;
365+ return hw -> ghwcfg2_reg .numhstchnl + 1 ;
366366}
367367
368368// --------------------------- HPTXFSIZ Register -------------------------------
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ static inline unsigned usb_dwc_ll_ghwcfg_get_hsphy_type(usb_dwc_dev_t *hw)
361361
362362static inline unsigned usb_dwc_ll_ghwcfg_get_channel_num (usb_dwc_dev_t * hw )
363363{
364- return hw -> ghwcfg2_reg .numhstchnl ;
364+ return hw -> ghwcfg2_reg .numhstchnl + 1 ;
365365}
366366
367367// --------------------------- HPTXFSIZ Register -------------------------------
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ static inline unsigned usb_dwc_ll_ghwcfg_get_hsphy_type(usb_dwc_dev_t *hw)
361361
362362static inline unsigned usb_dwc_ll_ghwcfg_get_channel_num (usb_dwc_dev_t * hw )
363363{
364- return hw -> ghwcfg2_reg .numhstchnl ;
364+ return hw -> ghwcfg2_reg .numhstchnl + 1 ;
365365}
366366
367367// --------------------------- HPTXFSIZ Register -------------------------------
You can’t perform that action at this time.
0 commit comments