Max value allowed for xcvr_setup value is 0x3f
Although it has 7 bits, MSB is unused.
Bug
200161481
Change-Id: I1f6289ab3f12fcfefd5d877f2ac23d4850100028
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
(cherry picked from commit
eaf3bb6817fd58cee5b87640af45ead2025471a8)
Reviewed-on: http://git-master/r/
1118373
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
/*
* drivers/usb/phy/tegra11x_usb_phy.c
*
- * Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
+ * Copyright (c) 2012-2016 NVIDIA Corporation. All rights reserved.
*
*
* This software is licensed under the terms of the GNU General Public
#define UTMIP_XCVR_HSSLEW_MSB(x) (((x) & 0x7f) << 25)
#define UTMIP_XCVR_HSSLEW_LSB(x) (((x) & 0x3) << 4)
#define UTMIP_XCVR_MAX_OFFSET 0x10
-#define UTMIP_XCVR_SETUP_MAX_VALUE 0x7f
+#define UTMIP_XCVR_SETUP_MAX_VALUE 0x3f
#define UTMIP_XCVR_SETUP_MIN_VALUE 0
#define XCVR_SETUP_MSB_CALIB(x) ((x) >> 4)