All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] media: si2157: rework firmware load logic
@ 2021-12-09 11:41 Mauro Carvalho Chehab
  2021-12-09 11:41 ` [PATCH v2 1/4] media: si2157: move firmware load to a separate function Mauro Carvalho Chehab
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2021-12-09 11:41 UTC (permalink / raw)
  Cc: linuxarm, mauro.chehab, Mauro Carvalho Chehab, Antti Palosaari,
	Mauro Carvalho Chehab, linux-kernel, linux-media,
	Robert Schlabbach

As pointed bt Robert, if there's already a firmware for si2157 at
/lib/firmware, it is preferred to use it, instead of the default firmware.

Yet, when this is missed, the driver may still work. That's the case,
for instance, of the devices explicitly flagged with dont_load_firmware
(currently, Terratec Cinergy TC2).

So, rework the firmware logic in a way that it will emit a warning for
devices that are using the eeprom firmware and may not work well
with it.

Compile-tested only.

Robert,

Could you please test it on your devices?

--

v2:
 - added a patch to allow supporting different firmwares depending on
   the device's reported ROM ID.
   
Mauro Carvalho Chehab (3):
  media: si2157: move firmware load to a separate function
  media: si2157: rework the firmware load logic
  media: si2157: use a different namespace for firmware

Robert Schlabbach (1):
  media: si2157: Add optional firmware download

 drivers/media/tuners/si2157.c      | 248 +++++++++++++++++------------
 drivers/media/tuners/si2157_priv.h |  14 ++
 2 files changed, 163 insertions(+), 99 deletions(-)

-- 
2.33.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-10  7:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-09 11:41 [PATCH v2 0/4] media: si2157: rework firmware load logic Mauro Carvalho Chehab
2021-12-09 11:41 ` [PATCH v2 1/4] media: si2157: move firmware load to a separate function Mauro Carvalho Chehab
2021-12-09 11:41 ` [PATCH v2 2/4] media: si2157: Add optional firmware download Mauro Carvalho Chehab
2021-12-09 11:41 ` [PATCH v2 3/4] media: si2157: rework the firmware load logic Mauro Carvalho Chehab
2021-12-09 11:41 ` [PATCH v2 4/4] media: si2157: use a different namespace for firmware Mauro Carvalho Chehab
2021-12-09 21:30   ` Robert Schlabbach
2021-12-10  7:04     ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.