asoc: s3c24xx+uda1380 - some questions

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

 



Hi,
I'm trying to develop asoc driver for hp ipaq rx1950 (s3c24xx + uda1380).

1st question: where I can enable/disable uda1380 codec power? I need to 
control codec power for powersave reasons.

I tried to add custom power function call to uda1380_set_bias_level in 
uda1380.c (pointer to power function is stored in codec->private_data), as it 
done for uda134x codec, but after enable-disable-enable cycle (for example, 
after resuming from suspend) driver cannot communicate with codec anymore 
(i2c bus is always busy), only reloading i2c driver helps.

I suspect, power(0) is called in inappropriate moment, when i2c-transfer still 
is not finished.

2nd question: for some reason, driver does not produce any sound during first 
aplay invocation, only second and later aplay invocation driver produces 
sound. What can be the reason of this problem?

Regards
Vasily

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux