media: dw9807-vcm: Smooth the first user movement of the lens
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 3 Jan 2023 16:53:37 +0000 (16:53 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:26 +0000 (11:33 +0000)
commit8e6815f7657825dd8b584b89c5abc6cec94546a3
tree4a81294cf34192a95422a745053d7cd2c7eefd98
parent9c983dafdbe925744fac49d4f8e2afddad27e437
media: dw9807-vcm: Smooth the first user movement of the lens

The power up/down sequence is already ramped. Extend this to
the first user movement as well, as this will generally avoid
the "tick" noises due to rapid movements and overshooting.
Subsequent movements are generally smaller and so don't cause
issues.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/dw9807-vcm.c