]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: mux: demux-pinctrl: use proper parent device for demux adapter
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 21 May 2018 07:29:38 +0000 (09:29 +0200)
committerPeter Rosin <peda@axentia.se>
Thu, 24 May 2018 11:45:04 +0000 (13:45 +0200)
commit5a9dcd81908bb2bc6d8ed22bc4b7eec191024557
treed722b66c305acdf2ffc01ab4202dcb908b4b939c
parentf657c9fe26888274b9d22ad3cdc796dd945be8aa
i2c: mux: demux-pinctrl: use proper parent device for demux adapter

Due to a typo, the wrong parent device was assigned to the newly created
demuxing adapter device. It got connected to the demuxing platform
device but not to the selected parent I2C adapter device. Fix it to get
a proper parent-child relationship of the demuxed busses.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/muxes/i2c-demux-pinctrl.c