Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'chrome-platform-fixes-for-v6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux

Pull chrome-platform fix from Tzung-Bi Shih:
"Fix a race condition that sends multiple host commands at a time"

* tag 'chrome-platform-fixes-for-v6.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
platform/chrome: cros_ec_proto: Lock device when updating MKBP version

+2
+2
drivers/platform/chrome/cros_ec_proto.c
··· 813 813 if (ret == -ENOPROTOOPT) { 814 814 dev_dbg(ec_dev->dev, 815 815 "GET_NEXT_EVENT returned invalid version error.\n"); 816 + mutex_lock(&ec_dev->lock); 816 817 ret = cros_ec_get_host_command_version_mask(ec_dev, 817 818 EC_CMD_GET_NEXT_EVENT, 818 819 &ver_mask); 820 + mutex_unlock(&ec_dev->lock); 819 821 if (ret < 0 || ver_mask == 0) 820 822 /* 821 823 * Do not change the MKBP supported version if we can't