diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-02 10:00:00 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-02 10:01:16 -0700 |
commit | 7c744d00990ea999d27f306f6db5ccb61b1304b2 (patch) | |
tree | 449d6e73cfa8c696ac1b3c44dcea3777f84e5636 /Documentation/devicetree/bindings/clock/ti/gate.txt | |
parent | e4bb7fee188dab08b7e589fff7616716cdbd5c3b (diff) | |
download | lwn-7c744d00990ea999d27f306f6db5ccb61b1304b2.tar.gz lwn-7c744d00990ea999d27f306f6db5ccb61b1304b2.zip |
Input: adc-joystick - fix ordering in adc_joystick_probe()
We should register the IIO buffer before we register the input device,
because as soon as the device is registered input handlers may attach to
it, resulting in a call to adc_joystick_open() which makes use of the said
buffer.
Acked-by: Artur Rojek <contact@artur-rojek.eu>
Link: https://lore.kernel.org/r/YskFh4NHnlcryMkk@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/ti/gate.txt')
0 files changed, 0 insertions, 0 deletions