23 Dec, 2011
4 commits
-
This patch adds the header files for ioctl definitions and header file for
driver APIs for lower level device drivers to useSigned-off-by: Vinod Koul
Signed-off-by: Pierre-Louis Bossart
Signed-off-by: Takashi Iwai -
The patch adds the various definations used to define the encoder
and decoder parametersSigned-off-by: Vinod Koul
Signed-off-by: Pierre-Louis Bossart
Reviewed-by: Mark Brown
Signed-off-by: Takashi Iwai -
Use the minor numbers 2 and 3 for audio compressed offload devices.
Also add support for these devices in coreSigned-off-by: Omair Mohammed Abdullah
Signed-off-by: Pierre-Louis Bossart
Signed-off-by: Vinod Koul
Reviewed-by: Mark Brown
Signed-off-by: Takashi Iwai -
The patch adds the documentation file explaining the API
Signed-off-by: Pierre-Louis Bossart
Signed-off-by: Vinod Koul
Signed-off-by: Takashi Iwai
22 Dec, 2011
22 commits
-
Sharing and not reinitialising static pcm_hardware struct resulted in
stream format validity flags being incorrectly shared between cards.
Fix and clarify by declaring locally and initialising in the open functions.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Since introduction of mono and low latency modes, fixed channel count of 2
is not always valid. Use reported max_channels instead.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Previously, only payload and size were correct, sufficient for reading,
but other fields produced spurious debug output.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
It is useful to know the HPI version without having to load the module,
in order to determine the matching firmware version.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Add new error codes, and adapter properties.
Clean up some comments.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
dsp_code struct is not created if firmware is invalid, so check
and zero of firmware pointer is not necessarySigned-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Structs hpi_adapter and snd_card_asihpi had members that
duplicate those in underlying hpi_adapter_obj or whose info
can be retrieved using hpi_adapter_get_info().Print less info in probe function, it can be retrieved from /proc.
Avoid name redundancy: hpi_adapter_obj.adapter_type renamed to .type
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Enables retrieving more debug info in fewer transactions.
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Structs related to network flash update are not required in kernel.
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Add "Internal" node type.
Remove GPI and GPO node types.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
The channel count can be queried to determine which.
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Unlike other streams which support 1..max channels,
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
and update HPI version to 4.10
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Elapsed counter should only count data committed to snd_pcm_period_elapsed,
rather than all data availableSigned-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai
19 Dec, 2011
2 commits
-
These drviers defined only variables but didn't declare as module
parameters. Also fix the enable variable to bool type.Signed-off-by: Takashi Iwai
-
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.Signed-off-by: Rusty Russell
Signed-off-by: Takashi Iwai
12 Dec, 2011
1 commit
-
Signed-off-by: Sergiusz Urbaniak
Signed-off-by: Takashi Iwai
06 Dec, 2011
2 commits
-
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107Signed-off-by: Thomas Meyer
Signed-off-by: Takashi Iwai -
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107Signed-off-by: Thomas Meyer
Signed-off-by: Takashi Iwai
02 Dec, 2011
3 commits
-
Signed-off-by: David Dillow
Signed-off-by: Takashi Iwai -
There are some AC97 codec and board combinations that have been observed
to take a very long time to respond after the cold reset has completed.
In one case, more than 350 ms was required. To allow users to have sound
on those platforms, we'll wait up to 500ms for the codec to become
ready.As a board may have multiple codecs, with some faster than others to
reset, we add a module parameter to inform the driver which codecs
should be present.Reported-by: KotCzarny
Signed-off-by: David Dillow
Cc:
Signed-off-by: Takashi Iwai
01 Dec, 2011
2 commits
-
The verb command in stac92xx_post_suspend caused the audio to stop
working after resuming from S3 mode on HP laptops with the VREF-pin
mute-LED control. Removing relevant post_suspend registering.Although removing D3 on AFG is no optimal solution, the impact should
be small in comparison with the broken S3/S4.Signed-off-by: Charles Chin
Cc:
Signed-off-by: Takashi Iwai
29 Nov, 2011
4 commits
-
This quirk sould be reverted. It has the following probems:
1) The quirk was intended to "ASUS MV2-MX SE" motherboards only, but the
ID used matches a much broader range, potentially all boards containing a
VIA chipset model in the family of vendor VIA 0x1106 and audio device ID
0x3288, which encompasses VIA-VT82xx, VIA-VT1xx and VIA-VT20xx chipsets.2) VIA chipsets rely on azx_via_get_position() to handle correctly dma
transfers during capture. Using POS_FIX_LPIB instead of POS_FIX_VIACOMBO
leads to partially corrupted input buffers during capture. The effects
of this bug are not immediately visible, it took strong DSP expertise,
some expensive signal generator and a spectrum analyzer to identify it
and verify correct behaviour using original default.3) It's almost certain that the quirk did not fix the real problem,
if there was one. Refer to original submission:
http://mailman.alsa-project.org/pipermail/alsa-devel/2010-February/025109.htmlSigned-of-by: Marc Vertes
Signed-off-by: Takashi Iwai -
Some HP laptops use a pin VREF for controlling the mute LED, and such a
pin shouldn't be powered off.Signed-off-by: Takashi Iwai
-
Currently the SigmaDSP firmware loader only works correctly on little-endian
systems. Fix this by using the proper endianess conversion functions.Signed-off-by: Lars-Peter Clausen
Acked-by: Mike Frysinger
Signed-off-by: Mark Brown
Cc: stable@kernel.org -
The firmware header is not part of the CRC, so skip it. Otherwise the firmware
will be rejected due to non-matching CRCs.Signed-off-by: Lars-Peter Clausen
Acked-by: Mike Frysinger
Signed-off-by: Mark Brown
Cc: stable@kernel.org