03 Jan, 2009
2 commits
-
Since internal to v4l2 the ioctl prototype is the same regardless of it
being called through .ioctl or .unlocked_ioctl, we need to convert it all
to the long return type of unlocked_ioctl.Thanks to Jean-Francois Moine for posting an initial patch for this and
thus bringing it to our attention.Cc: Jean-Francois Moine
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Introduce a struct v4l2_file_operations for v4l2 drivers.
Remove the unnecessary inode argument.
Move compat32 handling (and llseek) into the v4l2-dev core: this is now
handled in the v4l2 core and no longer in the drivers themselves.Note that this changeset reverts an earlier patch that changed the return
type of__video_ioctl2 from int to long. This change will be reinstated
later in a much improved version.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
30 Dec, 2008
1 commit
-
The card based on stv0299 or stv0288 demodulators.
Signed-off-by: Igor M. Liplianin
Signed-off-by: Mauro Carvalho Chehab
12 Oct, 2008
2 commits
-
Use the new video_drvdata(filp) function where it is safe to do so.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Move the video_exclusive_open/release functionality into the
driver itself.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
25 Aug, 2008
1 commit
-
It is ALSA bug #1754.
D6 bit in 02 register is PW4.Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
13 Aug, 2008
1 commit
-
Kill snd_assert() in other places, either removed or replaced with
if () with snd_BUG_ON().Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
27 Jul, 2008
1 commit
-
The type and type2 fields were unused and so could be removed.
Instead add a vfl_type field that contains the type of the video
device.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
26 Jul, 2008
1 commit
-
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
27 May, 2008
1 commit
-
This patch removes CVS keywords that weren't updated for a long time
from comments.Signed-off-by: Adrian Bunk
Signed-off-by: Takashi Iwai
19 May, 2008
1 commit
-
Signed-off-by: Harvey Harrison
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
24 Apr, 2008
2 commits
-
* removing the hack with NON_AKM ak4xxx type
* support for card-specific flags in ak4114_stats
* definition of the flags for corresponding cardsSigned-off-by: Pavel Hofman
Signed-off-by: Takashi Iwai -
A simple patch for listing AK4114 regs in proc.
Signed-off-by: Pavel Hofman
Signed-off-by: Takashi Iwai
01 Feb, 2008
5 commits
-
This is improvement of the early support of the FM-only cards where the
fm801 chip represents the PCI to tuner bridge.
The tuner initialization isn't included the mute on as well as mute support
via V4L request. Proposed patch should fix this at least for 64-PCR model.Signed-off-by: Andy Shevchenko
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This header file exists only for some hacks to adapt alsa-driver
tree. It's useless for building in the kernel. Let's move a few
lines in it to sound/core.h and remove it.
With this patch, sound/driver.h isn't removed but has just a single
compile warning to include it. This should be really killed in
future.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
* support for switching rate in STAC9460 - using set_rate_val of the akm
infrastructure
* listing all STAC9460 registers in proc
* disabling mpu401 device for Prodigy192 - otherwise the currently
flawed mpu401 code hangs kernel when opening the midi device
* removing old unused commented-out codeSigned-off-by: Pavel Hofman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check the value ranges in ctl put callbacks properly (in the rest drivers).
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check the value ranges in ctl put callbacks properly in ak4xxx-adda driver.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
22 Oct, 2007
1 commit
-
struct video_device used to define a .hardware field. While
initialized on severl drivers, this field is never used inside V4L.
However, drivers using it need to include the old V4L1 header.This seems to cause compilation troubles with some random configs.
Better just to remove it from all drivers.Signed-off-by: Mauro Carvalho Chehab
16 Oct, 2007
4 commits
-
Signed-off-by: Jaroslav Kysela
-
Reading the signature of CS8427 over SPI/I2C fails on some devices
by mysterious reason. In most cases, however, it succeeds at the
sequential read. So, let's give a second chance to check the signature
again.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Clean up Makefile using xxx- style instead of
ifeq(CONFIG_XXX,y).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Clean up codes using the new common snd_ctl_boolean_*_info() callbacks.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
20 Jul, 2007
1 commit
-
This patch adds the support of mute for front channels of M-Audio
Revolution 7.1 (the DAC AK4381 features a mute bit).Signed-off-by: Pavel Hofman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
11 May, 2007
2 commits
-
* correct register for 'IEC958 Non-PCM Bitstream', 'IEC958 DTS Bitstream'
to use AK4114_REG_RCS0
* correct check for control name: if (strstr(kctl->id.name, 'Playback'))
* correct check: if (!chip->init) in snd_ak4114_external_rate
* added PCM control 'IEC958 PPL Lock Status'Signed-off-by: Pavel Hofman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
ak4114 code may trigger Oops when the parameters are changed without
call of snd_ak4114_build(). Now it checks the existence of kctl
element, and the workq is triggered after building the necessary
kcontrols.
Also, did some code clean up.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
09 Feb, 2007
7 commits
-
Fix the handling of the TXCSB registers cache. There was one array
overflow in reg_write() and one in snd_ak4114_reg_write(). Thanks
to David Binderman for reporting the latter.
The second overflow probably doesn't matter much, given that the
function snd_ak4114_reg_write() appears to be never called. I wonder
why it exists and why it is exported.Signed-off-by: Jean Delvare
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Remove delayed work properly at free and suspend in ac97 codec and
ak4114 drivers.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Mark TLV data as 'const'
Signed-of-by: Philipp Matthias HahnSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Make data passed to ak4xxx_create 'const'.
Signed-of-by: Philipp Matthias HahnSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use global workqueue for simplicity instead of own workqueue.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Enable the analog loopback of the Revolution 5.1 card.
This patch adds support for the PT2258 volume controller and modifies
the Revolution 5.1 driver to make use of this facility. This allows
to control the analog loopback of the card.Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Enable capture from line-in and CD on the Revolution 5.1 card.
This patch adds support for switching between the 5 input channels of
the AK5365 ADC and modifies the Revolution 5.1 driver to make use of
this facility. Previously the capture channel was fixed to channel 0
(microphone on the Revolution 5.1 card).Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
22 Nov, 2006
1 commit
-
Fix up for make allyesconfig.
Signed-Off-By: David Howells
23 Sep, 2006
6 commits
-
Remove IPGA volume controls and merge the IPGA range to ADC volume
controls. These two volumes are not really independent but connected
simply in different ranges 0-0x7f and 0x80-max. It doesn't make sense
to provide two controls.
Since both 0x7f and 0x80 specify 0dB, a hack is needed for IPGA range
to skip 0x80 (increment one) for such controls.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
- Clean up the code in AK4xxx-ADDA i2c code.
- Fix capture gain controls for AK5365
- Changed the static table for DAC/ADC mixer labels to use
structs
- Implemented TLV entries for each AK codec
The volumes in AK4524, AK4528 and AK5365 are corrected with
a table to be suitable for dB conversion.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix volume control for the AK4358 DAC.
The attenuation control registers of the AK4358 use only 7bit for the
volume, the msb is used to enable attenuation output. Without this
patch there are 256 volume levels the lower 128 of which are mute.Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed compile warnings in ak4xxx-adda.c reagarding missing
enum cases in switch.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Complete the AK5365 support.
This adds a boolean control to toggle the soft mute feature of the
AK5365 chip.Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add support for the AK5365 ADC.
Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela