diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2021-11-26 02:02:57 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-07 13:29:55 +0300 |
commit | da6911f330d40cfe115a37249e47643eff555e82 (patch) | |
tree | c3fc59db739e3ddcf340e2540eba92e5848fbfc9 /sound/isa | |
parent | d912740881d5f7c13247ec714e9bc59b7cc1aace (diff) | |
download | linux-da6911f330d40cfe115a37249e47643eff555e82.tar.xz |
media: rcar-vin: Update format alignment constraints
This change fixes two issues with the size constraints for buffers.
- There is no width alignment constraint for RGB formats. Prior to this
change they were treated as YUV and as a result were more restricted
than needed. Add a new check to differentiate between the two.
- The minimum width and height supported is 5x2, not 2x4, this is an
artifact from the driver's soc-camera days. Fix this incorrect
assumption.
Signed-off-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+huawei@kernel.org>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions