[Bug 1353] No sound after resume from suspend

Tim Niemeyer tim.niemeyer at mastersword.de
Fri May 23 14:59:14 CEST 2008


can anyone explain me, for what these functions are?

in file sound/soc/s3c24xx/neo1973_wm8753.c :
static int lm4857_suspend(struct i2c_client *dev, pm_message_t state)
static int lm4857_resume(struct i2c_client *dev)

I never see them get called!!
I thought they should get called when the i2c bus goes to suspend?

> ------- Additional Comments From graeme at openmoko.org  2008-05-22 14:47 -------
> Here is a copy of email I sent to kernel list which never got any comments.
> I spent this afternoon debugging the audio resume problem that was seen
> in pulse and I can confirm it is a bug.
> iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
> in function s3c24xx_snd_lrsync always returns 0x0F and function is
> waiting for 0x10F to start sound. This would normally indicate that
> the L/R clock isnt functioning.
> But if you change this function to just return 0 then audio will
> restart after resume showing L/R clock is in fact running.
> So it seems reading the register gets stuck, I dont know why. I also
> don't know if this function is needed, I inherited it need to do
> a whole lot of left only sample tests to tell if samsung hardware is
> really broken.

Tim Niemeyer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080523/dc93386d/attachment.pgp 

More information about the openmoko-kernel mailing list