
lpass_cdc_register_macro can be called simultaneously by different macros as bootup resulting in inconsistent value of num_macros_registered. This will result in one of macro going ahead and registering lpass-cdc component and other macro failing to register which will cause probe of other macro to fail. Protect function with mutex lock so that macros access it sequentially Change-Id: I9d3811eeceb06b6a7e66d79a1b899b2c4283bb52 Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
42 KiB
42 KiB