CrazyCat
508dae75e4
media: usb/dvb-usb: Replace strlcpy() with strscpy()
2024-03-10 21:00:07 +02:00
CrazyCat
804a1febcc
media: usb/cx231xx: Replace strlcpy() with strscpy()
2024-03-10 20:59:40 +02:00
CrazyCat
48a32d973a
media: pci/cx23885: Replace strlcpy() with strscpy()
2024-03-10 20:58:48 +02:00
CrazyCat
282b6872f8
media: pci/cx88: Replace strlcpy() with strscpy()
2024-03-10 20:58:29 +02:00
CrazyCat
b3d6de4067
media: pci/saa716x: Replace strlcpy() with strscpy()
2024-03-10 20:57:52 +02:00
CrazyCat
82aaaf6cb3
media: pci/tbscapture: Replace strlcpy() with strscpy()
2024-03-10 20:57:08 +02:00
CrazyCat
f5c03ca466
media: pci/tbsecp3: Replace strlcpy() with strscpy()
2024-03-10 20:56:39 +02:00
Davin622
4015e75023
fixed an issue where 6504h's adapter 1 can not control LNB voltage
2024-03-08 16:49:17 +08:00
Davin622
a282f5cd0b
Fixed packet loss on 6991se
2024-03-06 18:19:31 +08:00
Davin622
f92b67d29f
cxd2878:optimize and reduce power consumption
2024-03-06 11:23:23 +08:00
tbslucy
896c68ded8
add to support TBS6308X
2024-02-21 11:36:01 +08:00
CrazyCat
6d47a19dc6
media: dvb-frontends/cxd2878: Fixed legacy signal statistic.
2024-02-05 17:34:14 +02:00
Davin622
f4ab1f553d
add support for TBS5590 V2
2024-02-01 10:25:53 +08:00
CrazyCat
81ba127ee1
media: dvb-frontends/gx1133: PLS support.
2024-01-13 19:18:11 +02:00
CrazyCat
02ed205f9d
media: dvb-frontends/gx1133: Multistream support.
2023-12-28 22:45:12 +02:00
CrazyCat
d0a7e44358
media: dvb-frontends/stid135: Unlock demod before search in stid135_set_parameters().
2023-11-23 19:47:44 +02:00
CrazyCat
cd0cfbdec5
media: dvb-frontends/stid135: More debug info in stid135_read_status().
2023-11-23 18:21:58 +02:00
CrazyCat
1fe490ae20
Merge branch 'tbsdtv_linux_media/master' into tbsdtv_linux_media/latest
2023-11-22 22:59:44 +02:00
CrazyCat
f4e4cabc2e
media: dvb-core: Restore dvb_math.c
2023-11-22 22:50:11 +02:00
Andy Shevchenko
df6940c4a0
lib/math: Move dvb_math.c into lib/math/int_log.c
...
Some existing and new users may benefit from the intlog2() and
intlog10() APIs, make them wide available.
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/20230619172019.21457-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Reviewed-by: Randy Dunlap <rdunlap@infradead.org >
Link: https://lore.kernel.org/r/20230703135211.87416-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-11-22 22:24:52 +02:00
CrazyCat
3feba21f58
media: tbscapture: Convert to generic PCM copy ops
...
This patch converts the tbsecp3 driver code to use the new unified
PCM copy callback. It's a straightforward conversion from *_user() to
*_iter() variants. As copy_to_iter() updates the internal offest at
each write, we can drop the dst counter update in the loop, too.
Note that copy_to_iter() returns the copied bytes, hence the error
condition is adjusted accordingly.
2023-11-17 22:42:48 +02:00
CrazyCat
5636c304dd
media: dvb-frontends: gx1503,m88rs6060,mtv23x,si2183: Switch back to use struct i2c_driver::probe
...
struct i2c_driver::probe_new is about to go away. Switch the driver to
use the probe callback with the same prototype.
2023-11-17 22:26:41 +02:00
CrazyCat
7d8e5de4ac
media: tuners: mxl603: Switch back to use struct i2c_driver::probe
...
struct i2c_driver::probe_new is about to go away. Switch the driver to
use the probe callback with the same prototype.
2023-11-17 22:25:54 +02:00
CrazyCat
ea7de28f2a
Merge branch 'tbsdtv_linux_media/master' into tbsdtv_linux_media/latest
2023-11-17 18:57:27 +02:00
Thomas Zimmermann
d7d579bb37
media: Remove flag FBINFO_FLAG_DEFAULT from fbdev drivers
...
The flag FBINFO_FLAG_DEFAULT is 0 and has no effect, as struct
fbinfo.flags has been allocated to zero by kzalloc(). So do not
set it.
Flags should signal differences from the default values. After cleaning
up all occurrences of FBINFO_DEFAULT, the token will be removed.
v2:
* fix commit message (Miguel)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de >
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Cc: Andy Walls <awalls@md.metrocast.net >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Hans Verkuil <hverkuil@xs4all.nl >
Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-12-tzimmermann@suse.de
2023-11-16 22:09:11 +02:00
Takashi Iwai
cf04ab6726
media: solo6x10: Convert to generic PCM copy ops
...
This patch converts the solo6x10 driver code to use the new unified
PCM copy callback. It's a straightforward conversion from *_user() to
*_iter() variants. As copy_to_iter() updates the internal offest at
each write, we can drop the dst counter update in the loop, too.
Note that copy_to_iter() returns the copied bytes, hence the error
condition is adjusted accordingly.
Acked-by: Ismael Luceno <ismael@iodev.co.uk >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Cc: Bluecherry Maintainers <maintainers@bluecherrydvr.com >
Cc: Anton Sviridenko <anton@corp.bluecherry.net >
Cc: Andrey Utkin <andrey_utkin@fastmail.com >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: linux-media@vger.kernel.org
Link: https://lore.kernel.org/r/20230815190136.8987-18-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2023-11-16 22:04:50 +02:00
Laurent Pinchart
c7087cb20c
media: i2c: ov01a10: Drop system suspend and resume handlers
...
Stopping streaming on a camera pipeline at system suspend time, and
restarting it at system resume time, requires coordinated action between
the bridge driver and the camera sensor driver. This is handled by the
bridge driver calling the sensor's .s_stream() handler at system suspend
and resume time. There is thus no need for the sensor to independently
implement system sleep PM operations. Drop them.
The streaming field of the driver's private structure is now unused,
drop it as well.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
2023-11-16 22:01:39 +02:00
Laurent Pinchart
96c6f00f04
media: i2c: ov01a10: Drop check for reentrant .s_stream()
...
The subdev .s_stream() operation shall not be called to start streaming
on an already started subdev, or stop streaming on a stopped subdev.
Remove the check that guards against that condition.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
2023-11-16 22:00:52 +02:00
Uwe Kleine-König
287816947f
media: i2c: ov01a10: Switch back to use struct i2c_driver::probe
...
struct i2c_driver::probe_new is about to go away. Switch the driver to
use the probe callback with the same prototype.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
2023-11-16 22:00:35 +02:00
Thomas Zimmermann
dd3927a465
media: Remove flag FBINFO_FLAG_DEFAULT from fbdev drivers
...
The flag FBINFO_FLAG_DEFAULT is 0 and has no effect, as struct
fbinfo.flags has been allocated to zero by kzalloc(). So do not
set it.
Flags should signal differences from the default values. After cleaning
up all occurrences of FBINFO_DEFAULT, the token will be removed.
v2:
* fix commit message (Miguel)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de >
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Cc: Andy Walls <awalls@md.metrocast.net >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Hans Verkuil <hverkuil@xs4all.nl >
Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-12-tzimmermann@suse.de
2023-11-16 21:59:09 +02:00
CrazyCat
5bc283d614
media: dvb-frontends/stid135: Improved auto max LLR rate setup.
2023-11-09 19:05:50 +02:00
CrazyCat
a2daf45472
media: dvb-frontends/stid135: Disable forced frame mode for DVB-S2 TS.
2023-11-08 22:49:18 +02:00
CrazyCat
bf63058ea6
media: dvb-frontends/stid135: Revert changes in FE_STiD135_GetFECLock().
2023-11-06 19:02:52 +02:00
CrazyCat
00db7903c9
media: dvb-frontends/stid135: stid135_set_parameters() optimization.
2023-11-05 19:29:23 +02:00
CrazyCat
acd9d20728
media: dvb-frontends/mxl58x: Fix memcpy warning.
2023-10-23 22:43:25 +03:00
CrazyCat
bfcdb6fc52
media: dvb: symbol fixup for dvb_attach()
...
In commit 9011e49d54dc ("modules: only allow symbol_get of
EXPORT_SYMBOL_GPL modules") the use of symbol_get is properly restricted
to GPL-only marked symbols. This interacts oddly with the DVB logic
which only uses dvb_attach() to load the dvb driver which then uses
symbol_get().
Fix this up by properly marking all of the dvb_attach attach symbols as
EXPORT_SYMBOL_GPL().
2023-09-24 18:34:16 +03:00
CrazyCat
71da1b12a9
Merge branch 'tbsdtv_linux_media/master' into tbsdtv_linux_media/latest
2023-09-24 18:16:46 +03:00
Greg Kroah-Hartman
4acdd089df
media: dvb: symbol fixup for dvb_attach()
...
In commit 9011e49d54dc ("modules: only allow symbol_get of
EXPORT_SYMBOL_GPL modules") the use of symbol_get is properly restricted
to GPL-only marked symbols. This interacts oddly with the DVB logic
which only uses dvb_attach() to load the dvb driver which then uses
symbol_get().
Fix this up by properly marking all of the dvb_attach attach symbols as
EXPORT_SYMBOL_GPL().
Fixes: 9011e49d54dc ("modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules")
Cc: stable <stable@kernel.org >
Reported-by: Stefan Lippers-Hollmann <s.l-h@gmx.de >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Christoph Hellwig <hch@lst.de >
Cc: linux-media@vger.kernel.org
Cc: linux-modules@vger.kernel.org
Acked-by: Luis Chamberlain <mcgrof@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Link: https://lore.kernel.org/r/20230908092035.3815268-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-24 18:15:39 +03:00
CrazyCat
283a4a7961
media: dvb-frontends/tbs_priv: dos2unix
2023-09-24 17:40:20 +03:00
CrazyCat
17944a4eb0
media: dvb-frontends/mn88436: dos2unix
2023-09-24 17:39:24 +03:00
CrazyCat
c2b38317ce
media: dvb-frontends/cxd2878: dos2unix
2023-09-24 17:38:27 +03:00
CrazyCat
70555a3fc3
media: tuners/rda5816: dos2unix.
2023-09-24 17:37:07 +03:00
CrazyCat
d10cc89536
media: dvb-frontends/stid135: Minor fixes.
2023-09-22 22:39:29 +03:00
CrazyCat
0a3fbba551
media: dvb-frontends\stid135: Change LLR calculation.
2023-09-12 01:12:05 +03:00
Davin622
07553ef72e
Optimized tbs6704 drivers
2023-09-11 11:29:32 +08:00
CrazyCat
16a874b68e
media: dvb-frontends\stid135: Fix PLS setup.
2023-09-05 23:17:25 +03:00
Davin622
ce5ed03cb5
Remove tbs6704 debug info.
2023-09-05 10:44:08 +08:00
CrazyCat
9ff24e6e17
Merge pull request #318 from tmn505/isl6422
...
media: dvb-frontends: build isl6422 when selected
2023-08-31 01:32:25 +03:00
Tomasz Maciej Nowak
9cc9306bc4
media: dvb-frontends: build isl6422 when selected
...
Got lost when fixing merge conflicts. It's needed for TBS-6984.
Fixes: 2f50557998
("Merge branch 'tbsdtv_linux_media/master' into tbsdtv_linux_media/latest")
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com >
2023-08-30 18:46:25 +02:00
Davin622
7100308f4f
Optimize the gx1133 module
2023-08-15 17:38:06 +08:00