Home
last modified time | relevance | path

Searched refs:light_new (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/light/
H A Diqs621-als.c99 bool light_new, light_old; in iqs621_als_notifier() local
132 light_new = event_data->als_flags & IQS621_ALS_FLAGS_LIGHT; in iqs621_als_notifier()
135 if (iqs621_als->light_en && light_new && !light_old) in iqs621_als_notifier()
141 else if (iqs621_als->light_en && !light_new && light_old) in iqs621_als_notifier()