Browse Source

usb: cdns3: drd: don't call drd_update_mode in drd_init()

At drd_init(), 'desired_dr_mode' is not yet correctly set
based on enabled drivers and dr_mode in DT. So don't call
drd_update_mode() from here.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Roger Quadros 6 years ago
parent
commit
0771b1589b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/usb/cdns3/drd.c

+ 0 - 2
drivers/usb/cdns3/drd.c

@@ -363,8 +363,6 @@ int cdns3_drd_init(struct cdns3 *cdns)
 		return -ENODEV;
 	}
 
-	ret = cdns3_drd_update_mode(cdns);
-
 	return ret;
 }