Bartosz Golaszewski 2583303deb gpio: mockup: fix debugfs read
The debugfs read callback must advance ppos or users using read() on
the file descriptor will never get the EOL. This wasn't spotted before
as I was using busybox cat for testing which uses sendfile() internally
and only noticed it now when switched to cat from coreutils.

Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
2019-03-27 09:56:01 +01:00
..
2018-12-21 11:41:00 +01:00
2018-03-19 01:50:07 +01:00
2019-02-17 21:59:33 +01:00
2018-05-16 14:35:24 +02:00
2018-08-10 23:19:17 +02:00
2018-12-14 14:27:41 +01:00
2019-02-14 15:14:37 +01:00
2019-03-27 09:56:01 +01:00
2019-02-17 21:59:33 +01:00
2017-12-22 15:24:31 +01:00
2018-08-29 08:53:37 +02:00
2018-01-09 14:51:00 +01:00
2018-09-17 10:55:24 -07:00
2019-02-22 17:26:52 +01:00
2019-02-22 17:26:52 +01:00
2018-11-05 08:54:40 +01:00