aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-08-30 18:45:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-30 14:14:53 -0700
commitde4a1931939891db633fbc3c33e953dd58f94294 (patch)
tree3fbe1e90f4e9ec9b83b685ad9acd0d7d76f37396 /Documentation
parent9badec2f9fa9209ceb3bd427972299d69a37d8ee (diff)
downloadkernel_goldelico_gta04-de4a1931939891db633fbc3c33e953dd58f94294.zip
kernel_goldelico_gta04-de4a1931939891db633fbc3c33e953dd58f94294.tar.gz
kernel_goldelico_gta04-de4a1931939891db633fbc3c33e953dd58f94294.tar.bz2
staging: dwc2: validate the value for phy_utmi_width
The HWCFG4 register stores the supported utmi width values (8, 16 or both). This commit reads that value and validates the configured value against that. If no (valid) value is given, the parameter defaulted to 8 bits previously. However, the documentation for dwc2_core_params_struct suggests that the default should have been 16. Also, the pci bindings explicitely set the value to 16, so this commit changes the default to 16 bits (if supported, 8 bits otherwise). With the default changed, the value set in pci.c is changed to -1 to make it autodetected as well. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions