All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc.
@ 2002-10-31  0:01 Benny Sjostrand
  2002-10-31  8:35 ` patch download (was: [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc.) Benny Sjostrand
  2002-10-31 10:40 ` [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Benny Sjostrand @ 2002-10-31  0:01 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

Hi!

Once again, updated cs46xx patch.
So, here's a attempt to move stuff from snd_cs46xx_playback_prepare(...),
to snd_cs46xx_hw_params(...), thing works,  but I dont like the aproach,
the main reason is that snd_cs46xx_hw_params(...) is not a good place
for adjusting the sample rate. I've noticed that some OSS applications
the hw_params is called upto 3 times, and I've found a way to find
out when actually the sample rate is set to the value the application
is going to proceed with.


Summary of changes:
- Rear PCM channel
- IEC958 PCM channel
- Turn on Amplifier and setup EGPIO for Santa Cruz card on init
- Fixed voyetra typo  on request  ("voyectra" -> "voyetra")
- Turn ON the HBP bit in SERBCF register, in the cs4630 spec. it
  says that it should be ON to access the FIFO via the backdoors.
- More cleanups in voyetra_setup_eapd_slot(...), same aproach as
   in snd_cs46xx_clear_serial_FIFOs(...), both functions access
    the FIFO's and basically in the same way.
- Some minor cleanups in snd_cs46xx_clear_serial_FIFOs(...)
- Move SCB stuff from snd_cs46xx_playback_prepare(...) to 
snd_cs46xx_playback_hw_params(...)
  course mutexes cant be used in prepare(...)

/Benny

[-- Attachment #2: cs46xx.patch.gz --]
[-- Type: application/postscript, Size: 10162 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-31 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-31  0:01 [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc Benny Sjostrand
2002-10-31  8:35 ` patch download (was: [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc.) Benny Sjostrand
2002-10-31 10:40 ` [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc Takashi Iwai
2002-10-31 15:12   ` Benny Sjostrand
2002-10-31 15:13     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.