aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2014-02-11 11:26:00 -0500
committerGreg Kroah-Hartman <[email protected]>2014-02-11 13:39:54 -0800
commitadff52952ef52c4dbfb930727f6f8cfe14d9967c (patch)
tree8fbaeabb0f629e016ec95bae5460f397c48ccfdb /tools/perf/scripts/python/sched-migration.py
parent843d5e036419bddb4aaf21d60c7ffe437e963166 (diff)
USB: ohci-platform: check for platform data misconfiguration
The ohci-platform driver checks for misconfigurations in cases where the Device Tree data specifies big-endian registers or descriptors but the corresponding driver config settings have not been enabled. As Jonas Gorski suggested, we may as well apply the same check to general platform data too. This requires moving the code that sets the big-endian quirk flags from the ohci_platform_reset() routine into ohci_platform_probe(), and moving the checks out of the DT-specific "if" statement clause. The patch also changes the text of the error messages in an attempt to make the nature of the error more clear. Signed-off-by: Alan Stern <[email protected]> Reported-by: Jonas Gorski <[email protected]> Acked-by: Hans de Goede <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions