Re: [PATCH] mfd: cros_ec_dev: Add a poll handler to receive MKBP events

2019-05-08 Thread Lee Jones
On Mon, 08 Apr 2019, Enric Balletbo i Serra wrote: > Hi Lee, > > On 2/4/19 6:06, Lee Jones wrote: > > On Fri, 08 Mar 2019, Enric Balletbo i Serra wrote: > > > >> From: Vincent Palatin > >> > >> Allow to poll on the cros_ec device to receive the MKBP events. > >> > >> The /dev/cros_[ec|fp|..]

Re: [PATCH] mfd: cros_ec_dev: Add a poll handler to receive MKBP events

2019-04-08 Thread Enric Balletbo i Serra
Hi Lee, On 2/4/19 6:06, Lee Jones wrote: > On Fri, 08 Mar 2019, Enric Balletbo i Serra wrote: > >> From: Vincent Palatin >> >> Allow to poll on the cros_ec device to receive the MKBP events. >> >> The /dev/cros_[ec|fp|..] file operations now implements the poll >> operation. The userspace can

Re: [PATCH] mfd: cros_ec_dev: Add a poll handler to receive MKBP events

2019-04-01 Thread Lee Jones
On Fri, 08 Mar 2019, Enric Balletbo i Serra wrote: > From: Vincent Palatin > > Allow to poll on the cros_ec device to receive the MKBP events. > > The /dev/cros_[ec|fp|..] file operations now implements the poll > operation. The userspace can now receive specific MKBP events by doing the >

[PATCH] mfd: cros_ec_dev: Add a poll handler to receive MKBP events

2019-03-08 Thread Enric Balletbo i Serra
From: Vincent Palatin Allow to poll on the cros_ec device to receive the MKBP events. The /dev/cros_[ec|fp|..] file operations now implements the poll operation. The userspace can now receive specific MKBP events by doing the following: - Open the /dev/cros_XX file. - Call the