Skip to content
Snippets Groups Projects
Commit 4835c737 authored by Siva Durga Prasad Paladugu's avatar Siva Durga Prasad Paladugu Committed by Marek Vasut
Browse files

usb: dwc3: Correct datatype of base to unsigned long


Correct type of varibale base to unsigned long as
keeping it as int causes usb failures if MSB of
the base address is set.

Signed-off-by: default avatarSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent b2f18584
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/usb/otg.h> #include <linux/usb/otg.h>
struct dwc3_device { struct dwc3_device {
int base; unsigned long base;
enum usb_dr_mode dr_mode; enum usb_dr_mode dr_mode;
u32 maximum_speed; u32 maximum_speed;
unsigned tx_fifo_resize:1; unsigned tx_fifo_resize:1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment