diff options
author | Bin Liu <b-liu@ti.com> | 2017-02-02 04:30:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-03 10:05:11 +0100 |
commit | 45abfa683bec97427078d5c122c2166fb989a03a (patch) | |
tree | 02e3814d2aa76cf801a470819916270cc665618d /drivers/clocksource/timer-atlas7.c | |
parent | usb: musb: debugfs: allow forcing host mode together with speed in testmode (diff) | |
download | linux-45abfa683bec97427078d5c122c2166fb989a03a.tar.xz linux-45abfa683bec97427078d5c122c2166fb989a03a.zip |
usb: musb: dsps: switch to static id for musb-hdrc platform devices
The dsps glue uses PLATFORM_DEVID_AUTO when creating the musb-hdrc
platform devices, this causes that the id will change in each system
depending on the order of driver probe, the order of the usb instances
defined in device-tree, or the list of enabled devices which use also
PLATFORM_DEVID_AUTO in kernel config. This id inconsistency causes
trouble in shell scripting or user guide documentation.
So switch it to static id, starting from 0 to the musb instance with
lower MMR offset. This scheme is also aligned to the naming in the SoC.
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clocksource/timer-atlas7.c')
0 files changed, 0 insertions, 0 deletions