31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
25 Mar, 2011
3 commits
-
Replace local VPRINTK1 with snd_printdd.
Create local snd_printddd instead of VPRINTK2 for most verbose debug.
In most cases let snd_printk supply default level for messages.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Make playback silence callback a no-op, card automatically outputs
silence when written data runs out.
Increasing update interval and thus minimum period avoids xrun on startup
or because of timer jitter.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Cards without settable local samplerate and without SRC
still must have a valid samplerate.
This fixed rate is determined by reading the current rate for the card.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai
18 Mar, 2011
1 commit
-
The user-supplied index into the adapters array needs to be checked, or
an out-of-bounds kernel pointer could be accessed and used, leading to
potentially exploitable memory corruption.Signed-off-by: Dan Rosenberg
Cc:
Signed-off-by: Takashi Iwai
09 Mar, 2011
1 commit
-
Signed-off-by: Takashi Iwai
11 Feb, 2011
28 commits
-
Firmware version check depends on hpi version. Update so correct firmware
is accepted.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Difference in major.minor between driver and firmware is an error now.
Release version mismatch give a warning.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
HPI version 4.05.32
Tweak HPI error code for backward compatibility.
Add BUILD to build-related defines.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 -
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 -
Interrupt flag used for message handshake will be required for
stream interrupts, so conditionally compiled code without
HPI6205_NO_HSR_POLL defined can never be used; removing it.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Remove unused function.
Simplify hpi_alloc_control_cache.
Remove useless assignment to struct subsequently freed.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Create and use HPI_ERROR_DSP_COMMUNICATION _DSP_BOOTLOAD, rather than
backend-specific error codes (now returned as data with the error).Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
asihpi.c don't link playback and capture streams, there is too much
offset between them.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Some error codes had duplicate meanings. Just use one.
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 -
Reported samples_played from card may be inaccurate, so don't use it.
Update control names to be closer to alsa standard practice.
Also fixed some accidentally lowercased strings.[Removed adriver.h inclusion for external module builds by tiwai]
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Remove many unused functions.
Update some message and cache structs.
Use pci info directly from pci_dev.
Allow control cache elements with variable size, and handle
large message/response from dsp.
hpi6000 and hpi6205: fix error path when adapter bootload fails.
hpimsgx.c get rid of code duplicated in hpicmn.cSigned-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
All enum values numeric for easier finding, particularly error codes.
Remove many unused declarations.Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai -
Log HPI messages and responses in consistent numeric format,
which can be post-processed to get strings.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
22 Nov, 2010
1 commit
-
Signed-off-by: Joe Perches
Signed-off-by: Takashi Iwai
02 Nov, 2010
1 commit
-
I noticed that sound/pci/asihpi/hpicmn.c::hpi_alloc_control_cache() does
not check the return value from kmalloc(), which may fail.
If kmalloc() fails we'll dereference a null pointer and things will go bad
fast.
There are two memory allocations in that function and there's also the
problem that the first may succeed and the second may fail and nothing is
done about that either which will also go wrong down the line.Signed-off-by: Jesper Juhl
Acked-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai
28 Aug, 2010
1 commit
-
If hw error is ignored, status is updated with invalid info.
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai
29 Jul, 2010
1 commit
-
get_user() may fail, if so return -EFAULT.
Signed-off-by: Kulikov Vasiliy
Signed-off-by: Takashi Iwai
28 Jul, 2010
1 commit
-
The correct size should be sizeof(gRESP_HPI_SUBSYS_FIND_ADAPTERS),
sizeof(&gRESP_HPI_SUBSYS_FIND_ADAPTERS) is incorrect.Signed-off-by: Axel Lin
Signed-off-by: Takashi Iwai
16 Jul, 2010
1 commit
-
Signed-off-by: Eliot Blennerhassett
Signed-off-by: Takashi Iwai