summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-04 20:57:22 -0800
committerWolfram Sang <wsa@the-dreams.de>2017-01-12 20:06:15 +0100
commit331c34255293cd02d395b7097008b509ba89e60e (patch)
tree90c079b378ecb58eaa9dac6341ae9c776bc97019 /samples
parent30f939feaeee23e21391cfc7b484f012eb189c3c (diff)
downloadop-kernel-dev-331c34255293cd02d395b7097008b509ba89e60e.zip
op-kernel-dev-331c34255293cd02d395b7097008b509ba89e60e.tar.gz
i2c: do not enable fall back to Host Notify by default
Falling back unconditionally to HostNotify as primary client's interrupt breaks some drivers which alter their functionality depending on whether interrupt is present or not, so let's introduce a board flag telling I2C core explicitly if we want wired interrupt or HostNotify-based one: I2C_CLIENT_HOST_NOTIFY. For DT-based systems we introduce "host-notify" property that we convert to I2C_CLIENT_HOST_NOTIFY board flag. Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud