15 Aug, 2011
1 commit
-
Remove a field that is not used at all. This remained from
earlier tests, but the current driver has decided not to handle
iris notifications.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
17 Jun, 2011
1 commit
-
Since commit 13882a82ee16 (optimize iso queueing by setting
wake only after the last packet), drivers are required to call
fw_iso_context_queue_flush() after queueing a batch of packets.
The missing call would have an effect only if the controller
queue underruns, but then the DMA would stop completely.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
11 May, 2011
8 commits
-
Lockdep complains about conflicts between isight->mutex,
ALSA's register_mutex, mm->mmap_sem, and pcm->open_mutex.This can be fixed by moving the calls to isight_pcm_abort(),
snd_card_disconnect(), and fw_iso_resources_update() out of
isight->mutex. These functions are designed to be called
asynchronously; the mutex needs to protect only the device
streaming state modified by isight_start/stop_streaming().Signed-off-by: Clemens Ladisch
Reported-by: Stefan Richter
Signed-off-by: Takashi Iwai -
When aborting a PCM stream, the xrun is signaled only if the stream is
running. When disconnecting a PCM stream, calling snd_card_disconnect()
too early would change the stream into a non-running state and thus
prevent the xrun from being noticed by user space.To prevent this, move the snd_card_disconnect() call after the xrun.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Signed-off-by: Stefan Richter
[cl: removed superfluous variable]
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
which is needed to get the iSight to talk.
Signed-off-by: Stefan Richter
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Set the .header_size field when queueing packets to avoid a division by
zero.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
After handling a received packet, we want to resubmit the same packet,
so do not increase the packet index too early.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Fix crashes in isight_pcm_abort() that happen when the driver tries to
access isight->pcm->runtime which does not exist when the device is not
open. Introduce a new field pcm_active to track this state.Signed-off-by: Clemens Ladisch
Reported-by: Stefan Richter
Signed-off-by: Takashi Iwai -
This adds an experimental driver for the front and rear microphones of
the Apple iSight web camera.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai