Re: [PATCH] platform/chrome: Fix locking pattern in wilco_ec_mailbox()

2019-03-12 Thread Enric Balletbo i Serra
Hi Nick, On 11/3/19 16:58, Nick Crews wrote: > Before, ec->data_buffer could be written to from multiple > contexts at the same time. Since the ec is shared data, > it needs to be inside the mutex as well. > Probably you're missing a fixes tag here. > Signed-off-by: Nick Crews > --- >

[PATCH] platform/chrome: Fix locking pattern in wilco_ec_mailbox()

2019-03-11 Thread Nick Crews
Before, ec->data_buffer could be written to from multiple contexts at the same time. Since the ec is shared data, it needs to be inside the mutex as well. Signed-off-by: Nick Crews --- drivers/platform/chrome/wilco_ec/mailbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff