media: platform: stm32: wait end of transmission
authorYannick Fertre <yannick.fertre@st.com>
Fri, 29 Mar 2019 12:39:42 +0000 (08:39 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 14:29:31 +0000 (10:29 -0400)
commit1a726df6078c2fa1ce07f1e086576977d99f7fcf
tree196fcd2e330e359d598aaa2e8df51aeac394a722
parentb063474e2130b6bab48ac20acd9b821dfc16c171
media: platform: stm32: wait end of transmission

It is mandatory to write CEC_CFGR only when CECEN=0. To protect
transmission, a check have been added to delayed logical address
modification. This patch is necessary tp pass all tests of compliance.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/stm32/stm32-cec.c