Add debugfs for displaying zoran debug and stats information.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/Kconfig | 1 +
drivers/staging/media/zoran/zoran.h | 2 ++
drivers/staging/media/zoran/zoran_card.c | 36
3 files changed, 39 insertion
Simplify code by using module_pci_driver()
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran_card.c | 21 +
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/drivers/staging/media/zoran/zoran_card.c
b/drivers/staging/media/zoran/zoran_card.c
ind
Now we have a debugfs, we can remove all PROCFS stuff.
We keep videocodec_debugfs_show(), it will be used later
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/videocodec.c | 24 +---
drivers/staging/media/zoran/videocodec.h | 3 +++
2 files changed, 4 insertio
The DC30 uses a non-i2c ITT MSE3000 encoder and not an adv7175 as stated
in the card list.
So remove adv7175 from DC30.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran_card.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/media/zoran/zoran_card.c
b/driv
vb2_dma_contig_set_max_seg_size need to have a size in parameter and not
a DMA_BIT_MASK().
While fixing this issue, also fix error handling of all DMA size
setting.
Reported-by: kernel test robot
Fixes: d4ae3689226e5 ("media: zoran: device support only 32bit DMA address")
Signed-off-by: Corentin
Reduces the size of the probe function by adding zoran_i2c_init/zoran_i2c_exit
functions.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran_card.c | 73 ++--
1 file changed, 54 insertions(+), 19 deletions(-)
diff --git a/drivers/staging/media/zoran/zoran_ca
All zoran module will be merged, so to prevent conflict, the debug
module parameter need to be renamed
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/videocodec.c | 8
drivers/staging/media/zoran/zr36016.c| 12 ++--
drivers/staging/media/zoran/zr36050.c|
Since all kconfigs for card selection are bool, this causes all selected modules
to be always built-in.
Prevent this by moving selects to the main tristate kconfig.
By doing this, remove also all "if MEDIA_SUBDRV_AUTOSELECT" which are
wrong, since zoran always need them to work.
Signed-off-by: Co
Hello
The main change of this serie is to fusion all zoran related modules in
one.
This fixes the load order problem when everything is built-in.
Regards
Changes since v2:
- added the 4 latest patchs
- removed DEBUGFS kconfig option
- fixed Dan Carpenter's reported codec issues
- fixed kernel te
After each capture, zoran driver complains that it remains some unused
buffer. This is due to a missing count handling.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/media/zoran/zoran_driver.c
b/d
The vidmem parameter is no longer necessary since we removed framebuffer
support.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran_card.c | 15 ---
1 file changed, 15 deletions(-)
diff --git a/drivers/staging/media/zoran/zoran_card.c
b/drivers/staging/media/zoran
The zoran driver is split in many modules, but this lead to some
problems.
One of them is that load order is incorrect when everything is built-in.
Having more than one module is useless, so fusion all zoran modules in
one.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/Kconfig
It remains some unused code from old zoran buffer handling.
Let's remove them.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran.h| 14 -
drivers/staging/media/zoran/zoran_card.c | 36 --
drivers/staging/media/zoran/zoran_device.h | 2 --
Move some code out of zr36057_init() and create new functions for handling
zr->video_dev.
This permit to ease code reading and fix a zr->video_dev memory leak.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran.h| 2 +-
drivers/staging/media/zoran/zoran_card.c | 80 +
We need to empty zoran_init() for removing it later.
Furthermore, this permit to use pci_xxx instead of pr_xxx for prettier
printing.
Signed-off-by: Corentin Labbe
---
drivers/staging/media/zoran/zoran_card.c | 64
1 file changed, 33 insertions(+), 31 deletions(-)
diff
15 matches
Mail list logo