aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEugen Hristev <[email protected]>2019-11-21 08:55:24 +0100
committerMauro Carvalho Chehab <[email protected]>2020-01-04 08:09:59 +0100
commit1451d5ae351d938a0ab1677498c893f17b9ee21d (patch)
tree4a6a920181d598ae7cea3344a2952fc33d272cc6 /tools/perf/scripts/python
parent033c60a6e295b60989104c074c2a8a3d2d1fe3df (diff)
media: i2c: mt9v032: fix enum mbus codes and frame sizes
This driver supports both the mt9v032 (color) and the mt9v022 (mono) sensors. Depending on which sensor is used, the format from the sensor is different. The format.code inside the dev struct holds this information. The enum mbus and enum frame sizes need to take into account both type of sensors, not just the color one. To solve this, use the format.code in these functions instead of the hardcoded bayer color format (which is only used for mt9v032). [Sakari Ailus: rewrapped commit message] Suggested-by: Wenyou Yang <[email protected]> Signed-off-by: Eugen Hristev <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions