Re: [PATCH v2] mfd: cros_ec: check for NULL transfer function

2019-04-08 Thread Enric Balletbo i Serra
Hi Enrico, Many thanks to send this upstream. On 4/4/19 18:00, Jett ✈ Rink wrote: > Reviewed-by: Jett Rink > > On Wed, Apr 3, 2019 at 4:40 PM wrote: >> >> From: Enrico Granata >> >> As new transfer mechanisms are added to the EC codebase, they may >> not support v2 of the EC protocol. >> >>

Re: [PATCH v2] mfd: cros_ec: check for NULL transfer function

2019-04-04 Thread Jett ✈ Rink
Reviewed-by: Jett Rink On Wed, Apr 3, 2019 at 4:40 PM wrote: > > From: Enrico Granata > > As new transfer mechanisms are added to the EC codebase, they may > not support v2 of the EC protocol. > > If the v3 initial handshake transfer fails, the kernel will try > and call cmd_xfer as a

[PATCH v2] mfd: cros_ec: check for NULL transfer function

2019-04-03 Thread egranata
From: Enrico Granata As new transfer mechanisms are added to the EC codebase, they may not support v2 of the EC protocol. If the v3 initial handshake transfer fails, the kernel will try and call cmd_xfer as a fallback. If v2 is not supported, cmd_xfer will be NULL, and the code will end up