diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-04 20:57:22 -0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-01-12 20:06:15 +0100 |
commit | 331c34255293cd02d395b7097008b509ba89e60e (patch) | |
tree | 90c079b378ecb58eaa9dac6341ae9c776bc97019 /certs | |
parent | 30f939feaeee23e21391cfc7b484f012eb189c3c (diff) | |
download | linux-331c34255293cd02d395b7097008b509ba89e60e.tar.gz linux-331c34255293cd02d395b7097008b509ba89e60e.tar.bz2 linux-331c34255293cd02d395b7097008b509ba89e60e.zip |
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 'certs')
0 files changed, 0 insertions, 0 deletions