Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Diqs621-als.c99 bool light_new, light_old; in iqs621_als_notifier() local
133 light_old = iqs621_als->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()