X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=control.c;h=d34747e8ff1d80f353d37453c46962656b4817e7;hb=542618777c70addc456082bbd8d5a55629d4946d;hp=db8d324e6997ae611a91240eea7a0efda927ae95;hpb=91169afdbdcbdf36ca591fd31eafcdc7919936b7;p=android-x86%2Fhardware-intel-libsensors.git diff --git a/control.c b/control.c index db8d324..d34747e 100644 --- a/control.c +++ b/control.c @@ -911,9 +911,8 @@ static void synthetize_duplicate_samples (void) if (!sensor_info[s].enable_count) continue; - /* If the sensor can generate duplicates, leave it alone */ - if (!(sensor_info[s].quirks & QUIRK_TERSE_DRIVER) && - sensor_info[s].selected_trigger != + /* If the sensor is continuously firing, leave it alone */ + if ( sensor_info[s].selected_trigger != sensor_info[s].motion_trigger_name) continue;