[PATCH AUTOSEL 4.9 02/45] iio:st_magn: Fix enable device after trigger

2018-12-05 Thread Sasha Levin
From: Martin Kelly [ Upstream commit fe5192ac81ad0d4dfe1395d11f393f0513c15f7f ] Currently, we enable the device before we enable the device trigger. At high frequencies, this can cause interrupts that don't yet have a poll function associated with them and are thus treated as spurious. At high

[PATCH AUTOSEL 4.9 02/45] iio:st_magn: Fix enable device after trigger

2018-12-05 Thread Sasha Levin
From: Martin Kelly [ Upstream commit fe5192ac81ad0d4dfe1395d11f393f0513c15f7f ] Currently, we enable the device before we enable the device trigger. At high frequencies, this can cause interrupts that don't yet have a poll function associated with them and are thus treated as spurious. At high