Double mutex_unlock in 2024 ww51 ia_ipu release
Open
- Dominant language
- C
- Stars
- 251
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/intel/ipu6-drivers/commit/5a1a280fbcef83b85e265f4696ee3be61a2e625c#diff-5d8bb31c30c9393a0d7b5d59f0389db65f8189d9270aea922df3564c0614cb25R1039
mutex_unlock(&av->ip.csi2->stream_mutex);
if (av->ip.csi2->stream_count == 0)
entity->pads[0].pipe = NULL;
mutex_unlock(&av->ip.csi2->stream_mutex);
I think the first unlock should be lock ... the code review didn't capture this.
Contributor guide
Assessment
This issue has not been assessed yet.