All of lore.kernel.org
 help / color / mirror / Atom feed
* v3.19: Nokia N900 - auto not working
@ 2015-01-31  9:35 Pali Rohár
  2015-01-31 10:40 ` Jarkko Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2015-01-31  9:35 UTC (permalink / raw)
  To: linux-omap
  Cc: Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov,
	Tony Lindgren, Felipe Balbi, Peter Ujfalusi, Jarkko Nikula

[-- Attachment #1: Type: Text/Plain, Size: 1125 bytes --]

Hello,

audio on (real) n900 device does not working with 3.19 kernel. Here is relevant dmesg output:

[    5.687438] omap_i2c 48070000.i2c: bus 1 rev3.3 at 2200 kHz
[    5.696166] tpa6130a2 2-0060: Write failed
[    5.696228] tpa6130a2 2-0060: Failed to initialize chip
[    5.696380] tpa6130a2: probe of 2-0060 failed with error -121
[    5.697937] omap_i2c 48072000.i2c: bus 2 rev3.3 at 100 kHz
[    5.700256] omap_i2c 48060000.i2c: bus 3 rev3.3 at 400 kHz
[    6.289154] rx51-audio n900-audio: Failed to add TPA6130A2 controls
[    6.295715] rx51-audio n900-audio: ASoC: failed to init TLV320AIC34: -19
[    6.302459] rx51-audio n900-audio: ASoC: failed to instantiate card -19
[    6.309173] gpiod_unexport: invalid GPIO
[    6.315612] rx51-audio n900-audio: snd_soc_register_card failed (-19)
[    6.397949] ALSA device list:
[    6.404876]   No soundcards found.

Any idea why tpa6130a2 fails to initialize?

I applied also these patches:
https://lkml.org/lkml/2015/1/29/465
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-January/087228.html

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: v3.19: Nokia N900 - auto not working
  2015-01-31  9:35 v3.19: Nokia N900 - auto not working Pali Rohár
@ 2015-01-31 10:40 ` Jarkko Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Nikula @ 2015-01-31 10:40 UTC (permalink / raw)
  To: Pali Rohár, linux-omap
  Cc: Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov,
	Tony Lindgren, Felipe Balbi, Peter Ujfalusi

Hi

On 01/31/2015 11:35 AM, Pali Rohár wrote:
> Hello,
> 
> audio on (real) n900 device does not working with 3.19 kernel. Here is relevant dmesg output:
> 
> [    5.687438] omap_i2c 48070000.i2c: bus 1 rev3.3 at 2200 kHz
> [    5.696166] tpa6130a2 2-0060: Write failed
> [    5.696228] tpa6130a2 2-0060: Failed to initialize chip
> [    5.696380] tpa6130a2: probe of 2-0060 failed with error -121
> [    5.697937] omap_i2c 48072000.i2c: bus 2 rev3.3 at 100 kHz
> [    5.700256] omap_i2c 48060000.i2c: bus 3 rev3.3 at 400 kHz
> [    6.289154] rx51-audio n900-audio: Failed to add TPA6130A2 controls
> [    6.295715] rx51-audio n900-audio: ASoC: failed to init TLV320AIC34: -19
> [    6.302459] rx51-audio n900-audio: ASoC: failed to instantiate card -19
> [    6.309173] gpiod_unexport: invalid GPIO
> [    6.315612] rx51-audio n900-audio: snd_soc_register_card failed (-19)
> [    6.397949] ALSA device list:
> [    6.404876]   No soundcards found.
> 
> Any idea why tpa6130a2 fails to initialize?
> 
> I applied also these patches:
> https://lkml.org/lkml/2015/1/29/465
> http://mailman.alsa-project.org/pipermail/alsa-devel/2015-January/087228.html
> 
Here probes and plays from headset fine on top of
1c999c47a9f1 Merge tag 'dm-3.19-fixes-3' of
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

I have above patches and these two:
http://marc.info/?l=devicetree&m=142264840506833&w=2
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8294/1

Your error code -121, -EREMOTEIO suggests that chip doesn't acknowledge
its address on i2c bus when trying to communicate with it. I don't know
what can cause it. Could it be some timing or probe ordering issue? I
have CONFIG_I2C_OMAP=y and sound drivers including
CONFIG_SND_SOC_TPA6130A2 as modules.

-- 
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-01-31 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-31  9:35 v3.19: Nokia N900 - auto not working Pali Rohár
2015-01-31 10:40 ` Jarkko Nikula

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.