From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Mark Brown <broonie@kernel.org>, Inki Dae <inki.dae@samsung.com>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Andrzej Hajda <a.hajda@samsung.com>
Subject: Re: [FAIL bisect] Sound card probe error
Date: Mon, 14 May 2018 14:36:21 +0200 [thread overview]
Message-ID: <27b46bcd-a146-7f89-3682-3407ccc8643d@samsung.com> (raw)
In-Reply-To: <CAJKOXPc+kLA+BPBmaP14zMLbbxxCmWF1eZnKoa_PcO2z9jG9JQ@mail.gmail.com>
Hi Krzysztof,
On 2018-05-14 14:29, Krzysztof Kozlowski wrote:
> On Mon, May 14, 2018 at 2:22 PM, Sylwester Nawrocki
> <s.nawrocki@samsung.com> wrote:
>> Hi,
>>
>> On 05/14/2018 12:17 PM, Krzysztof Kozlowski wrote:
>>
>>> Bisected to:
>>> 8c123c14bbba4add148536b6d47a9226deda2f7a is the first bad commit
>>> commit 8c123c14bbba4add148536b6d47a9226deda2f7a
>>> Author: Ulf Hansson <ulf.hansson@linaro.org>
>>> Date: Thu Apr 26 10:53:06 2018 +0200
>>>
>>> driver core: Respect all error codes from dev_pm_domain_attach()
>>>
>>> The limitation of being able to check only for -EPROBE_DEFER from
>>> dev_pm_domain_attach() has been removed. Hence let's respect all error
>>> codes and bail out accordingly.
>>>
>>> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
>>> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>>> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>> The DRM driver creates the HDMI codec but its registration fails, due
>> to some missing clocks. The clock are missing because the exynos5-subcmu
>> driver probing fails.
>>
>> [ 0.678578] exynos5-subcmu: probe of GSC failed with error -17
>> [ 0.679250] exynos5-subcmu: probe of MFC failed with error -17
>> [ 0.679992] exynos5-subcmu: probe of DISP failed with error -17
>>
>> The exynos5-subcmu driver before registering platform device makes
>> of_genpd_add_device() call, so in platform_drv_probe() dev_pm_domain_attach()
>> call will fail, as dev->pm_domain is already set. Previously the error
>> was masked by code removed in the above commit and platform_drv_probe()
>> was could complete successfully.
> Thanks Sylwester!
>
> Ah, I missed these messages because I was looking at err dmesg level
> (and for some reason these are warn). Anyway do you have any thoughts
> how is it connected with missing Odroid XU3 sound card and max98090
> codec?
Odroid XU3 sound card driver is waiting for HDMI codec, which is being
created
by Exynos DRM HDMI driver, which was deferred by lack of clocks.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
WARNING: multiple messages have this Message-ID (diff)
From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [FAIL bisect] Sound card probe error
Date: Mon, 14 May 2018 14:36:21 +0200 [thread overview]
Message-ID: <27b46bcd-a146-7f89-3682-3407ccc8643d@samsung.com> (raw)
In-Reply-To: <CAJKOXPc+kLA+BPBmaP14zMLbbxxCmWF1eZnKoa_PcO2z9jG9JQ@mail.gmail.com>
Hi Krzysztof,
On 2018-05-14 14:29, Krzysztof Kozlowski wrote:
> On Mon, May 14, 2018 at 2:22 PM, Sylwester Nawrocki
> <s.nawrocki@samsung.com> wrote:
>> Hi,
>>
>> On 05/14/2018 12:17 PM, Krzysztof Kozlowski wrote:
>>
>>> Bisected to:
>>> 8c123c14bbba4add148536b6d47a9226deda2f7a is the first bad commit
>>> commit 8c123c14bbba4add148536b6d47a9226deda2f7a
>>> Author: Ulf Hansson <ulf.hansson@linaro.org>
>>> Date: Thu Apr 26 10:53:06 2018 +0200
>>>
>>> driver core: Respect all error codes from dev_pm_domain_attach()
>>>
>>> The limitation of being able to check only for -EPROBE_DEFER from
>>> dev_pm_domain_attach() has been removed. Hence let's respect all error
>>> codes and bail out accordingly.
>>>
>>> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
>>> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>>> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>> The DRM driver creates the HDMI codec but its registration fails, due
>> to some missing clocks. The clock are missing because the exynos5-subcmu
>> driver probing fails.
>>
>> [ 0.678578] exynos5-subcmu: probe of GSC failed with error -17
>> [ 0.679250] exynos5-subcmu: probe of MFC failed with error -17
>> [ 0.679992] exynos5-subcmu: probe of DISP failed with error -17
>>
>> The exynos5-subcmu driver before registering platform device makes
>> of_genpd_add_device() call, so in platform_drv_probe() dev_pm_domain_attach()
>> call will fail, as dev->pm_domain is already set. Previously the error
>> was masked by code removed in the above commit and platform_drv_probe()
>> was could complete successfully.
> Thanks Sylwester!
>
> Ah, I missed these messages because I was looking at err dmesg level
> (and for some reason these are warn). Anyway do you have any thoughts
> how is it connected with missing Odroid XU3 sound card and max98090
> codec?
Odroid XU3 sound card driver is waiting for HDMI codec, which is being
created
by Exynos DRM HDMI driver, which was deferred by lack of clocks.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
next prev parent reply other threads:[~2018-05-14 12:36 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20180514101728epcas4p3108760546a415b36252df93dfe38e0fb@epcas4p3.samsung.com>
2018-05-14 10:17 ` [FAIL bisect] Sound card probe error Krzysztof Kozlowski
2018-05-14 10:17 ` Krzysztof Kozlowski
2018-05-14 12:22 ` Sylwester Nawrocki
2018-05-14 12:22 ` Sylwester Nawrocki
2018-05-14 12:29 ` Krzysztof Kozlowski
2018-05-14 12:29 ` Krzysztof Kozlowski
2018-05-14 12:36 ` Marek Szyprowski [this message]
2018-05-14 12:36 ` Marek Szyprowski
2018-05-14 12:40 ` Sylwester Nawrocki
2018-05-14 12:40 ` Sylwester Nawrocki
2018-05-14 12:45 ` Krzysztof Kozlowski
2018-05-14 12:45 ` Krzysztof Kozlowski
2018-05-14 12:50 ` Krzysztof Kozlowski
2018-05-14 12:50 ` Krzysztof Kozlowski
2018-05-14 13:34 ` Sylwester Nawrocki
2018-05-14 13:34 ` Sylwester Nawrocki
2018-05-14 12:30 ` Ulf Hansson
2018-05-14 12:30 ` Ulf Hansson
2018-05-14 12:43 ` Krzysztof Kozlowski
2018-05-14 12:43 ` Krzysztof Kozlowski
2018-05-14 14:35 ` Ulf Hansson
2018-05-14 14:35 ` Ulf Hansson
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=27b46bcd-a146-7f89-3682-3407ccc8643d@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=a.hajda@samsung.com \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=inki.dae@samsung.com \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=s.nawrocki@samsung.com \
--cc=ulf.hansson@linaro.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 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.