Skip to content

Commit 4afc34f

Browse files
gabrielstedmanJan200101
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/kernel#160 Patchset: cameras
1 parent c83fae5 commit 4afc34f

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
@@ -136,6 +136,20 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
136136
},
137137
.driver_data = "OVTI02C1",
138138
},
139+
{
140+
.matches = {
141+
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
142+
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Pro 8"),
143+
},
144+
.driver_data = "INT33BE",
145+
},
146+
{
147+
.matches = {
148+
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
149+
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Pro 9"),
150+
},
151+
.driver_data = "OVTI5693",
152+
},
139153
{} /* Terminating entry */
140154
};
141155

0 commit comments

Comments
 (0)