RE: init_completion, down(mutex) related question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Mohan and Jan,
I was able to make my AC97 driver working. But When I play a wav file I
finds two problems:
	1. The file is being played with lower sampling frequency.
	2. There is a beeee sound at the end of file play.
Any suggestions  where might be the problem. 
(earlier some glitches were coming in the sound, which were removed
after I removed all printk statements. );

Regards,
Shiv

-----Original Message-----
From: kernelnewbies-bounce@nl.linux.org
[mailto:kernelnewbies-bounce@nl.linux.org] On Behalf Of mohanlal jangir
Sent: Friday, July 02, 2004 1:35 PM
To: Jan Hudec
Cc: Shiv Garg; kernelnewbies@nl.linux.org
Subject: Re: init_completion, down(mutex) related question

You are right. I just mixed generic explanation and specific APIs.

Regards
Mohanlal

----- Original Message -----
From: "Jan Hudec" <bulb@ucw.cz>
To: "mohanlal jangir" <mohanlal@samsung.com>
Cc: "Shiv Garg" <shivg@samsung.com>; <kernelnewbies@nl.linux.org>
Sent: Friday, July 02, 2004 1:19 PM
Subject: Re: init_completion, down(mutex) related question


On Fri, Jul 02, 2004 at 10:43:30 +0530, mohanlal jangir wrote:
> down and up primitives are used to acquire and release a semaphore,
mutex
or
> any synchronization primitive. init_completion will initialize wait
queue
Do you need to be reminded, that C is not polymorphic?
Also, mutex IS A (special case of) semaphore.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux