media fixes for v5.18-rc2
media: si2157: unknown chip version Si2147-A30 ROM 0x50

Fix firmware file names assignment in si2157 tuner, allow for running
devices without firmware files needed.

modprobe gives error: unknown chip version Si2147-A30 ROM 0x50
Device initialization is interrupted.

Caused by:
1. table si2157_tuners has swapped fields rom_id and required vs struct
2. both firmware file names can be null for devices with
   required == false - device uses build-in firmware in this case

Tested on this device:
	m07ca:1871 AVerMedia Technologies, Inc. TD310 DVB-T/T2/C dongle

[mchehab: fix mangled patch]
Fixes: 1c35ba3bf972 ("media: si2157: use a different namespace for firmware")
Cc: # 5.17.x
Signed-off-by: Piotr Chmura <>
Tested-by: Robert Schlabbach <>
Signed-off-by: Mauro Carvalho Chehab <>
1 file changed