20 Dec, 2006
22 commits
-
Fix the type of PCI revision to char from int and avoid invalid
assignment with pointer cast.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed the race among multiple threads accessing the OSS PCM
instance concurrently by simply introducing a mutex for protecting
a setup of the PCM.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
my notebook is a Samsung X11 of course... The attached patch fixes the typo.
Signed-off-by: Christian Hesse
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix the case cidx2 >= 0 and cidx2 < 0 which may result in negative
array index.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Make the output for PCM parameters more verbose, showing
each rate, bits and format.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Don't include 9.6kHz in the list of supported sample rates.
Since this rate isn't indicated in AC_PAR_PCM parameter,
the driver might guess wrongly as if it's available.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add a proper model entry (laptop-eapd) for ASUS V1j laptop with
AD1986A codec.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch removes some obviously dead code spotted by the Coverity
checker.Signed-off-by: Adrian Bunk
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added a model entry (HP_BPC) for HP q965 with ALC262 codec.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The case where silence_size < boundary was broken because different
parts of the snd_pcm_playback_silence() function disagreed about whether
silence_start should point to the start or to the end of the buffer part
to be silenced.
This patch changes the code to always use to the start, which also
simplifies several calculations.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Fixed a typo in proc file.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
precise_ptr option causes dysfunction with hdsp driver.
Turn it off as default.Signed-off-by: Remy Bruno
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Some modem codec seem to fail in the initialization, and this
stopped loading of the whole module although the audio is OK.
Since it's usually a non-fatal issue, the driver tries to proceed
to initialize now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix wrong error checks of *_ch_mode_put() in patch_realtek.c and
patch_analog.c. snd_hda_ch_mode_put() could return a positive
value for success, too.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes incorrect assignment of swap_rear,
which was broken since patch 'ymfpci - make rear channel swap optional'
It removes module_param rear_swap.Signed-off-by: Glen Masgai
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Use the roundup macro instead of manual calculations.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Use the ALIGN macro instead of manual calculations.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
New PCI ID described and tested Spectr .
Signed-off-by: Jaroslav Kysela
-
Don't include as it's not needed.
Signed-off-by: Jean Delvare
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Handle the return value of usb_register() in the module_init function.
Signed-off-by: Tobias Klauser
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
add __devinitdata to struct whitelist, since it's used within
a __devinit function.
Add const attribute to iterator variable, too.
Compile-tested (no section warnings etc.) and run-tested
on vt8233, 2.6.18-mm3 (hopefully applies well to current ALSA).Signed-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
[PATCH] Generic HID layer - update MAINTAINERS
input/hid: Supporting more keys from the HUT Consumer Page
[PATCH] Generic HID layer - build: USB_HID should select HID
18 Dec, 2006
18 commits
-
Signed-off-by: Evgeniy Polyakov
Signed-off-by: David S. Miller -
Fix the redirect packet of the router if the jiffies wraparound.
Signed-off-by: Li Yewang
Signed-off-by: David S. Miller -
The message logged in tcp_v4_inbound_md5_hash when the hash was expected
but not found was reversed.Signed-off-by: Leigh Brown
Signed-off-by: David S. Miller -
md5sig_info.alloced4 must be set to zero when freeing keys4, otherwise
it will not be alloc'd again when another key is added to the same
socket by tcp_v4_md5_do_add.Signed-off-by: Leigh Brown
Signed-off-by: David S. Miller -
Linus has changed work queue structure and has not tested it with
connector compiled in, his changes break the build.Attached patch fixes compilation error.
Patch is against commit 99f5e9718185f07458ae70c2282c2153a2256c91.
Thanks to Toralf Förster for pointing this out.
Signed-off-by: Evgeniy Polyakov
Signed-off-by: David S. Miller -
Update version to 3.71.
Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
The 5906 PHY requires a special register bit to power down and up the
PHY.Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
Hot-plug scripts can call tg3_open() as soon as register_netdev() is
called in tg3_init_one(). We need to call pci_set_drvdata() before
register_netdev(), and netif_carrier_off() needs to be moved to
tg3_open() to avoid race conditions.Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
tp->link_config.orig_* values must be assigned during
tg3_set_settings() because these values will be used to setup the
link speed during tg3_open(). Without these assignments, the link
speed settings will be all messed by if tg3_set_settings() is called
when the device is down.Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
Although the menu dependencies in net/ipv6/netfilter/Kconfig
guard the entries in that file from the Kconfig GUI, this does
not prevent them from being selected still via "make oldconfig"
when IPV6 etc. is disabled.So add explicit dependencies.
Signed-off-by: David S. Miller
-
Use the configured MAC address instead of the permanent MAC address
for loopback frames.Update version to 1.5.2.
Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
Length was not calculated correctly if the NVRAM offset is on a non-
aligned offset.Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
There was an off-by-one bug in bnx2_tx_avail(). If the tx ring is
completely full, the producer and consumer indices may be apart by
256 even though the ring size is only 255. One entry in the ring is
unused and must be properly accounted for when calculating the number
of available entries. The bug caused the tx ring entries to be
reused by mistake, overwriting active entries, and ultimately causing
it to crash.This bug rarely occurs because the tx ring is rarely completely full.
We always stop when there is less than MAX_SKB_FRAGS entries available
in the ring.Thanks to Corey Kovacs and Andy Gospodarek
for reporting the problem and helping to collect
debug information.Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
rose_add_loopback_neigh uses kmalloc and the callers were ignoring the
error value. Rewrite to let the caller deal with the allocation. This
allows the use of static allocation of kmalloc use entirely.Signed-off-by: Ralf Baechle
Signed-off-by: David S. Miller -
Signed-off-by: Ralf Baechle
Signed-off-by: David S. Miller -
ax25_linkfail_register uses kmalloc and the callers were ignoring the
error value. Rewrite to let the caller deal with the allocation. This
allows the use of static allocation of kmalloc use entirely.Signed-off-by: Ralf Baechle
Signed-off-by: David S. Miller -
Signed-off-by: Ralf Baechle
Signed-off-by: David S. Miller -
Fix ax25_listen_register to return something that's a sane error code,
then all callers to use it.Signed-off-by: Ralf Baechle
Signed-off-by: David S. Miller