summaryrefslogtreecommitdiff
path: root/drivers/i3c
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-12-09 00:48:08 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-16 15:20:35 +0300
commitc054fe9936065759b21b493ac1e7d9a2be014083 (patch)
tree3e619bc17ed5f227efb82656cc682545b24cd83a /drivers/i3c
parent8b7651f2596238ca54225ebbcfbd3f14a4c41887 (diff)
downloadlinux-c054fe9936065759b21b493ac1e7d9a2be014083.tar.xz
iio: event_monitor: Flush output on event
By flushing the output, iio_event_monitor can be more useful to programs chained along with it. iio_event_monitor stk3310 | awk '/rising/{system("my_unlockscreen.sh")} /falling/{system("my_lockscreen.sh")}' Without this flush, the above example would buffer a number of events, then after a while run the lock/unlock scripts several times. Signed-off-by: Zach DeCook <zachdecook@librem.one> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/i3c')
0 files changed, 0 insertions, 0 deletions