alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Prchal Jiří" <jiri.prchal@aksignal.cz>
To: Jarkko Nikula <jhnikula@gmail.com>
Cc: sedji.gaouaou@atmel.com, slapin@ossfans.org,
	broonie@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org,
	lrg@slimlogic.co.uk
Subject: Re: PROBLEM: Asoc driver in 2.6.37.3 for AT91SAM9260 / TLV320AIC3X is broken
Date: Mon, 14 Mar 2011 07:35:06 +0100	[thread overview]
Message-ID: <4D7DB71A.3020401@aksignal.cz> (raw)
In-Reply-To: <20110311170516.f2e923fb.jhnikula@gmail.com>



Dne 11.3.2011 16:05, Jarkko Nikula napsal(a):
> On Fri, 11 Mar 2011 09:58:16 +0100
> Prchal Jiří <jiri.prchal@aksignal.cz> wrote:
> 
>> So I change file snd-soc-afeb9260.c, diff is attached, and Kconfig and Makefile too.
>> In version 2.6.35.11 it works good, but MMC/SD card doesn't work. (Something is broken it that driver just in this
>> version). I need to work sound and SD card.
>> I thing the problem is somewhere between "tlv320aic3x-codec 0-001a: probe" and "i2c-core: driver [tlv320aic3x-codec]
>> registered". In version 2.6.35.11 there is I2C communication, in 2.6.37 and higher nothing on I2C.
>> I also try to put newer alsa 1.0.24 to kernel 2.6.37.3 without any improvement.
> 
> Just to make sure, have you added I2C_BOARD_INFO("tlv320aic3x", 0x1a)
> to afeb9260_i2c_devices[] in arch/arm/mach-at91/board-afeb-9260v1.c?

Yes, I have it.
> 
>> Trying to put older alsa (but same version?) from kernel 2.6.35.11 to 2.6.37.3 produce soundcard, but when try to play
>> kernel oops, "cannot dereference null pointer" and freezes.
>>
>> I try many versions of
>> /* Digital audio interface glue - connects codec <--> CPU */
>> static struct snd_soc_dai_link afeb9260_dai = {
>> 	.name = "TLV320AIC3X", //AIC3X
>> 	.stream_name = "AIC3X",
>> 	.cpu_dai_name = "atmel-ssc-dai.0", //atmel-ssc-dai
>> 	.codec_dai_name = "tlv320aic3x-hifi", //aic3x, aic3x-hifi, tlv320aic3x
>> 	.platform_name = "atmel-pcm-audio", //atmel_pcm-audio
>> 	.codec_name = "tlv320aic3x-codec.0-001a", //tlv320aic3x-codec.0-0x1a
>> 	.init = afeb9260_aic3x_init,
>> 	.ops = &afeb9260_ops,
>> };
> 
> codec_name and codec_dai_name look ok here.
> 

  reply	other threads:[~2011-03-14  6:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11  8:58 PROBLEM: Asoc driver in 2.6.37.3 for AT91SAM9260 / TLV320AIC3X is broken Prchal Jiří
2011-03-11 15:05 ` Jarkko Nikula
2011-03-14  6:35   ` Prchal Jiří [this message]
2011-03-23 13:53 ` Prchal Jiří
2011-03-23 13:54   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D7DB71A.3020401@aksignal.cz \
    --to=jiri.prchal@aksignal.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=jhnikula@gmail.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=sedji.gaouaou@atmel.com \
    --cc=slapin@ossfans.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).