Skip to content

Commit 45828ab

Browse files
gabrielstedmanFaceFTW
authored andcommitted
media: ipu-bridge: Add front camera rotation quirks for Surface Pro 8 and 9
On the Surface Pro 8 and 9, camera rotation in `ssdb.degree` is `0` (no rotation) but should be `180`. Add these devices to the respective quirk list. Link: linux-surface#160 Patchset: cameras
1 parent d8d6c4e commit 45828ab

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

drivers/media/pci/intel/ipu-bridge.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
122122
},
123123
.driver_data = "OVTI02C1",
124124
},
125+
{
126+
.matches = {
127+
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
128+
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Pro 8"),
129+
},
130+
.driver_data = "INT33BE",
131+
},
132+
{
133+
.matches = {
134+
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
135+
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Pro 9"),
136+
},
137+
.driver_data = "OVTI5693",
138+
},
125139
{} /* Terminating entry */
126140
};
127141

0 commit comments

Comments
 (0)