summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-twl4030-usb.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2015-03-12 17:17:59 +0100
committerWolfram Sang <wsa@the-dreams.de>2015-03-18 13:42:14 +0100
commit03bde7c31a360f814ca42101d60563b1b803dca1 (patch)
treedef8c38af9087e4afe4849ebc5abbda33f109fa3 /drivers/phy/phy-twl4030-usb.c
parentof: base: add function to get highest id of an alias stem (diff)
downloadlinux-03bde7c31a360f814ca42101d60563b1b803dca1.tar.xz
linux-03bde7c31a360f814ca42101d60563b1b803dca1.zip
i2c: busses with dynamic ids should start after fixed ids for DT
Make sure dynamic ids do not interfere with fixed ones and let them start after the highest fixed id. This patch might cause different bus-numbers than before for dynamic ids, however it fixes a bug. Assume: - fixed id0 defers probe - fixed id1 succeeds and registers a muxed bus with dynamic id - muxed bus gets id0 - fixed id0 wants to probe again, but its fixed id is gone now - fixed id0 probe fails With this patch, the fixed ids are always reserved in the DT case. For legacy board init, we already have a mechanism like this in i2c_register_board_info(). Reported-by: Bob Feretich <bob.feretich@rafresearch.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/phy/phy-twl4030-usb.c')
0 files changed, 0 insertions, 0 deletions