diff options
| author | Alexandru Ardelean <[email protected]> | 2021-04-14 08:49:55 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-10 13:01:48 +0000 |
| commit | 7061803522ee7876df1ca18cdd1e1551f761352d (patch) | |
| tree | 0e36e2038614f8ff3174a64a88688c3a7e7a34c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | iio: proximity: pulsedlight: Fix rumtime PM imbalance on error (diff) | |
| download | kernel-7061803522ee7876df1ca18cdd1e1551f761352d.tar.gz kernel-7061803522ee7876df1ca18cdd1e1551f761352d.zip | |
iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
During commit 067fda1c065ff ("iio: hid-sensors: move triggered buffer
setup into hid_sensor_setup_trigger"), the
iio_triggered_buffer_{setup,cleanup}() functions got moved under the
hid-sensor-trigger module.
The above change works fine, if any of the sensors get built. However, when
only the common hid-sensor-trigger module gets built (and none of the
drivers), then the IIO_TRIGGERED_BUFFER symbol isn't selected/enforced.
Previously, each driver would enforce/select the IIO_TRIGGERED_BUFFER
symbol. With this change the HID_SENSOR_IIO_TRIGGER (for the
hid-sensor-trigger module) will enforce that IIO_TRIGGERED_BUFFER gets
selected.
All HID sensor drivers select the HID_SENSOR_IIO_TRIGGER symbol. So, this
change removes the IIO_TRIGGERED_BUFFER enforcement from each driver.
Fixes: 067fda1c065ff ("iio: hid-sensors: move triggered buffer setup into hid_sensor_setup_trigger")
Reported-by: Thomas Deutschmann <[email protected]>
Cc: Srinivas Pandruvada <[email protected]>
Signed-off-by: Alexandru Ardelean <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
