diff options
author | Wenyou Yang <wenyou.yang@microchip.com> | 2017-10-10 04:46:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-27 13:56:05 +0200 |
commit | 64f6306a5af21561ad6b9a3247fc68126b8be88a (patch) | |
tree | 5446eeb015fd6ac2cbbcba362c75cf5b4f71d74d /drivers/media/platform/vimc/vimc-core.c | |
parent | cab1dea3be2e51578032c5aee6ac13ff7b4aaeb4 (diff) |
media: atmel-isc: Add prepare and unprepare ops
A software write operation to the ISC_CLKEN or ISC_CLKDIS register
requires double clock domain synchronization and is not permitted
when the ISC_SR.SIP is asserted. So add the .prepare and .unprepare
ops to make sure the ISC_CLKSR.SIP is unasserted before the write
operation to the ISC_CLKEN or ISC_CLKDIS register.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions