diff options
| author | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2019-01-11 20:41:40 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 19:24:49 +0300 |
| commit | ac105ab2138f43b7acbc91f17453e0a0ba2f7f33 (patch) | |
| tree | f6319694bd7108fee4b620e977d982795c0000ec /tools/perf/scripts/python | |
| parent | 9423ca350df71ff71f8db2b01127eecd2254f619 (diff) | |
| download | linux-ac105ab2138f43b7acbc91f17453e0a0ba2f7f33.tar.xz | |
media: i2c: adv748x: Convert SW reset routine to function
The ADV748x is currently reset by writting a small table of registers to
the device.
The table lacks documentation and contains magic values to perform the
actions, including using a fake register address to introduce a delay
loop.
Remove the table, and convert to code, documenting the purpose of the
specific writes along the way.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
