Skip to content
Commit 4f001fd3 authored by Pantelis Antoniou's avatar Pantelis Antoniou Committed by Wolfram Sang
Browse files

i2c: Mark instantiated device nodes with OF_POPULATE



Mark (and unmark) device nodes with the POPULATE flag as appropriate.
This is required to avoid multi probing when using I2C and device
overlays containing a mux.
This patch is also more careful with the release of the adapter device
which caused a deadlock with muxes, and does not break the build
on !OF since the node flag accessors are not defined then.

Signed-off-by: default avatarPantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent eb8173e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment