[PATCH 4.14 043/315] media: cobalt: fix race condition in setting HPD