Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Ricardo Neri <ricardo.neri@ti.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	lrg@ti.com, s-guiriec@ti.com, linux-omap@vger.kernel.org,
	alsa-devel@alsa-project.org
Subject: Re: [PATCH 3/3] ASoC: OMAP: HDMI: Obtain DMA port from resources
Date: Thu, 15 Nov 2012 19:39:47 -0600	[thread overview]
Message-ID: <50A59963.3080603@ti.com> (raw)
In-Reply-To: <50A4E1C1.7080609@ti.com>

Hi Tomi,

On 11/15/2012 06:36 AM, Tomi Valkeinen wrote:
> On 2012-11-15 11:45, Tomi Valkeinen wrote:
>> On 2012-11-15 04:33, Ricardo Neri wrote:
>>> Hi Mark,
>>>
>>> On 11/14/2012 05:08 PM, Mark Brown wrote:
>>>> On Wed, Nov 14, 2012 at 11:07:09AM -0600, Ricardo Neri wrote:
>>>>> On 11/13/2012 09:27 PM, Mark Brown wrote:
>>>>
>>>>>> Presumably this needs some other corresponding change in the resource
>>>>>> setup to go in simultaneously...
>>>>
>>>>> Yes, the change in the resources setup has been submitted to the
>>>>> OMAPDSS HDMI driver and accepted by Tomi [1].
>>>>
>>>> Don't do this.  With a change like this which must be made at the same
>>>> time over multiple subsystems it is very important that you send all the
>>>> parts of the changes together.  Otherwise there's a risk that one of
>>>> them won't get merged and even if they do both get merged you'll break
>>>> bisection - it's clear that nobody can be testing this on Tomi's branch.
>>>
>>> but the changes will hit linux-next at some point and they could be
>>> tested there, right?
>>>
>>> Sorry, as changes for the HDMI drivers go to several maintainers, I was
>>> trying to send the relevant patches to the respective maintainers and
>>> avoid potential merge/rebase issues.
>>>
>>> Tomi has already taken the DSS changes. Perhaps, if you and Tomi agree,
>>> Tomi could also take the ASoC and the arch/arm/mach-omap2 changes. This
>>> way all changes come from the same tree.
>>
>> Hmm, ok, I'm a bit confused here.
>>
>> I though the omap_hdmi_audio device was a new thing, and thus it was ok
>> to add to omapdss. But now I see omap_hdmi_audio is already registered
>> in arch/arm/mach-omap2/devices.c, meaning the same platform device is
>> registered twice now. Well, with the exception of the device id, which
>> is -1 for the one from devices.c, and 0 for the one in omapdss.
>>
>> Mark is right, this is not right. The kernel should work fine after each
>> patch, which means that sometimes a patch will touch multiple different
>> areas of kernel.
>>
>> omapdss master branch is a stable branch, so I don't want to rebase it.
>> But I guess I can "reset" it by merging a mainline using some merge
>> strategy. I haven't done that before, but I guess it'll work.
>>
>> Can you look at all the HDMI patches related to this hdmi-device change,
>> and rewrite them so that they'll keep the kernel working after each patch?
>
> After some testing I think resetting my master branch with merge is not
> a very good option.
>
> However, the HDMI audio platform device patch is almost on top of the
> branch, so reverting it would only create a few steps where the HDMI
> audio may be broken.
>
> So I can revert the patch and apply a new series with the patches
> organized so that things will work.

Thanks! I just resubmitted a new series to complement the creation of 
the audio device for HDMI with code to remove it from 
arch/arm/mach-omap2/devices.c. HDMI audio works correctly in every patch 
of that series.

Thanks Mark and Tomi for pointing out these issues and I apologize for 
the inconvenience.

BR,

Ricardo
>
>   Tomi
>
>

      reply	other threads:[~2012-11-16  1:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14  2:30 [PATCH 0/3] Updated names for ASoC OMAP HDMI drivers Ricardo Neri
2012-11-14  2:30 ` [PATCH 1/3] ASoC: OMAP: HDMI: Update machine driver name Ricardo Neri
2012-11-14 10:16   ` Liam Girdwood
2012-11-14 17:00     ` Ricardo Neri
2012-11-14  2:30 ` [PATCH 2/3] ASoC: OMAP: HDMI: Update CPU DAI " Ricardo Neri
2012-11-14  2:30 ` [PATCH 3/3] ASoC: OMAP: HDMI: Obtain DMA port from resources Ricardo Neri
2012-11-14  3:27   ` Mark Brown
2012-11-14 17:07     ` Ricardo Neri
2012-11-14 23:08       ` Mark Brown
2012-11-15  2:33         ` Ricardo Neri
2012-11-15  4:10           ` Mark Brown
2012-11-15 16:22             ` Ricardo Neri
2012-11-15  9:45           ` Tomi Valkeinen
2012-11-15 12:36             ` Tomi Valkeinen
2012-11-16  1:39               ` Ricardo Neri [this message]

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=50A59963.3080603@ti.com \
    --to=ricardo.neri@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=s-guiriec@ti.com \
    --cc=tomi.valkeinen@ti.com \
    /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