Hello Hans,
Thank you for the patches.
On Tue, Oct 14, 2025 at 07:40:09PM +0200, Hans de Goede wrote:
During sensor calibration I noticed that with the hflip control set to false/disabled the image was mirrored.
So it seems that the horizontal flip control is inverted and needs to be set to 1 to not flip (just like the similar problem recently fixed on the ov08x40 sensor).
Invert the hflip control to fix the sensor mirroring by default.
As the comment above the newly added OV01A10_MEDIA_BUS_FMT define explains the control being inverted also means that the native Bayer-order of the sensor actually is GBRG not BGGR, but so as to not break userspace the Bayer-order is kept at BGGR.
Fixes: 0827b58dabff ("media: i2c: add ov01a10 image sensor driver") Cc: stable@vger.kernel.org
Tested-by: Mehdi Djait mehdi.djait@linux.intel.com # Dell XPS 9315 Reviewed-by: Mehdi Djait mehdi.djait@linux.intel.com
Signed-off-by: Hans de Goede hansg@kernel.org