media: bcm2835-unicam: Clear clock state when stopping streaming
authorNaushir Patuck <naush@raspberrypi.com>
Wed, 2 Dec 2020 16:48:41 +0000 (16:48 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:09 +0000 (16:04 +0000)
commit7b803d8b28af9a44d0c4d039f53e378186a3739f
treeb5be7d51a64dba42ed0d501ec47dc9f957119e13
parent11fb509ec82bf7d0b87ec2e3f5724b51a62fbc9b
media: bcm2835-unicam: Clear clock state when stopping streaming

Commit 65e08c465020d4c5b51afb452efc2246d80fd66f failed to clear the
clock state when the device stopped streaming. Fix this, as it might
again cause the same problems when doing an unprepare.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/platform/bcm2835/bcm2835-unicam.c