diff options
| author | Chris Packham <judge.packham@gmail.com> | 2017-09-29 10:53:36 +1300 | 
|---|---|---|
| committer | Heiko Schocher <hs@denx.de> | 2017-10-11 06:17:22 +0200 | 
| commit | 5bc90a8953a902152bd640322ffc8111dccbe3ab (patch) | |
| tree | dcb31609ff5744d36595d474bbcd64d1cfe33a89 /drivers/i2c/designware_i2c.c | |
| parent | 45c9d96ae40b0c4292eb67d687f0bf698a0ce72b (diff) | |
i2c: muxes: pca954x: look up width from chip_desc
Commit 8e6eda7cda6c ("drivers/i2c/muxes/pca954x: Add pca9547 I2C mux
support") introduced a chip_desc for the pca954x devices but failed to
update pca954x_ofdata_to_platdata() to be aware of it. Make
pca954x_ofdata_to_platdata() lookup the chip_desc to validate the device
width.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Marek Behun <marek.behun@nic.cz>
Diffstat (limited to 'drivers/i2c/designware_i2c.c')
0 files changed, 0 insertions, 0 deletions
