[PATCH AUTOSEL 6.12 12/23] media: vb2: use lock if wait_prepare/finish are NULL