18 Oct, 2008
4 commits
-
To optimise data storage redundant vars are removed.
Signed-off-by: Darron Broad
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
cx23885: Checkpatch compliance
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
This allows some cardcoded functions to be more flexible, and paves
the way for any future cards that may have MFE support. Better to add it
now when the MFE patches is fresh in peoples mind, rather than 12 months
from now when new cards appear.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Bug: the tree generated an oops when the cx23885 was laoded. This avoids
the oops by ensuring the mutex is correctly initialised before it's used.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
12 Oct, 2008
1 commit
-
v4l: replace __FUNCTION__ with __func__
Signed-off-by: Alexander Beregalov
Signed-off-by: Mauro Carvalho Chehab
04 Sep, 2008
1 commit
-
I need this so I can better isolate my linux email from my
corporate email.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
26 Jul, 2008
6 commits
-
In a previous patch I merged both memory maps into a single struct, believing
that they could be combined. We've since found problems with streaming
multiple channels on the 885. I'm restoring the multiple memory map structs
- in line with the windows driver.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
This may be cx23885 chip specific and may not work on the cx23887.
Analog and mpeg encoder streaming are still to be tested.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Don't display the register when it's not appropriate for the specific port.
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Certain DVB cards that have demodulators on TS1/VIDB were not streaming packets.
This ensure the pin directions on PAD_CTRL are set correctly, solving the issue.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
PAD_CTRL controls TS1 and TS2 input and output states, if the register
became corrupt the driver was never able to recover.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
With the HVR1800, trying to use video0 and video1 simultaneously caused
buffer corruption in the PCIe bridge. This fix reallocates video1
buffer locations to avoid the issue.Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab
20 Jul, 2008
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Mauro Carvalho Chehab
05 Jun, 2008
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Mauro Carvalho Chehab
25 Apr, 2008
5 commits
-
cx23885: Enable cx23417 support on the HVR1800
Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
cx23885: Add generic cx23417 hardware encoder support.
Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
For boards that require the avcore (cx25840) to be active, ensure
it gets loaded.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
The dev element of the struct videobuf_queue is now of type struct device
implicitly. Fix left-over casts.Signed-off-by: Guennadi Liakhovetski
Reviewed-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab
02 Apr, 2008
1 commit
-
This reduces the memory footprint and removes the need to
manually configure each map, which lead to a bug where
the Fusion EXP 5 board broke for a while.
This also fixes digital support again for
the DViCO FusionHDTV5Express.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
26 Jan, 2008
7 commits
-
Added missing do { } while (0)
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
This enabled basic preview NTSC and PAL support for the HVR1800.
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
The cx23885/6/8 all have different clock rates, this patch allows
the core to compensate, and developers to allow vendor specific
overrides. This patches will be used by future analog video
and encoder patches.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
We need to clear space large enough for the video and encoder fifos.
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Each version of the cx23885/7/8 silicon has different build revs.
We'll use this internal revision to work around bugs and known
issues in the video and encoder related patches.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
s/STATE_NEEDS_INIT/VIDEOBUF_NEEDS_INIT/g
s/STATE_PREPARED/VIDEOBUF_PREPARED/g
s/STATE_QUEUED/VIDEOBUF_QUEUED/g
s/STATE_ACTIVE/VIDEOBUF_ACTIVE/g
s/STATE_DONE/VIDEOBUF_DONE/g
s/STATE_ERROR/VIDEOBUF_ERROR/g
s/STATE_IDLE/VIDEOBUF_IDLE/gSigned-off-by: Brandon Philips
Signed-off-by: Mauro Carvalho Chehab -
This patch contains the following cleanups:
- make the following needlessly global code static:
- cx23885-core.c: struct cx23885_sram_channels[]
- cx23885-core.c: struct cx23887_sram_channels[]
- cx23885-core.c: cx23885_wakeup()
- cx23885-core.c: cx23885_sram_channel_setup()
- cx23885-core.c: cx23885_sram_channel_dump()
- cx23885-core.c: cx23885_risc_disasm()
- cx23885-core.c: cx23885_shutdown()
- cx23885-core.c: cx23885_reset()
- cx23885-core.c: cx23885_dev_unregister()
- cx23885-core.c: cx23885_risc_databuffer()
- cx23885-core.c: cx23885_risc_stopper()
- #if 0 the following unused functions:
- cx23885-core.c: cx23885_risc_buffer()
- cx23885-core.c: cx23885_cancel_buffers()
- remove the following unused EXPORT_SYMBOL's:
- cx23885-cards.c: cx23885_boards
- cx23885-i2c.c: cx23885_call_i2c_clientsSigned-off-by: Adrian Bunk
Reviewed-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
22 Oct, 2007
1 commit
-
Both cx23885_initdev and cx23885_dev_setup free the device in their
error path so a failure in the latter causes a double-free. Since
cx23885_dev_setup is only called from cx23885_initdev, it should be safe
to remove its deallocation and leave the cleanup up to the allocating
function.Coverity CID 1922.
Signed-off-by: Florin Malita
CC: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
11 Oct, 2007
1 commit
-
The rest of V4L files.
There is one list_for_each+list_entry in cpia_pp.c that
wasn't changed because it expects the loop iterator to remain NULL if
the list is empty.A bug in vivi is fixed; the 'safe' version needs to be used because the loop
deletes the list entries.Simplify a second loop in vivi and get rid if an un-used variable in that loop.
Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab
10 Oct, 2007
11 commits
-
cx23885 was still uses the old video-buf includes and code, which would only
`work' if one happened to be compiling against a kernel that had the old
headers. Even then, it wouldn't actually work, it would just compile without
errors.Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab -
cx23885: Changes to allow demodulators on each transport bus.
Signed-off-by: Steven Toth
Reviewed-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
This patch adds digital ATSC / QAM support for the DViCO FusionHDTV5 Express.
Remote control is supported by ir-kbd-i2c, RTC is supported by rtc-isl1208.Signed-off-by: Michael Krufky
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Changes to support MPEG TS on VIDB
Signed-off-by: Steven Toth
Reviewed-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Changes to support interrupts on VIDB
Signed-off-by: Steven Toth
Reviewed-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
start_dma() would fail to start dma if a device used VIDB (portb).
Signed-off-by: Steven Toth
Reviewed-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
The switch() statement is no longer required.
Signed-off-by: Steven Toth
Reviewed-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
I wanted to document the NMI assert issue inside the code, even though
it's already documented in the patch history. If/when the next cx23887
revision appears, is may need to be enabled on that also.Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Moving some defines into the correct header file.
Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Removed unused code.
Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Adding support for the Hauppauge HVR1250 PCIe ATSC board.
Signed-off-by: Steven Toth
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab