RE: S5P-TV: Warning for regulator unbalanced disables

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

 



Hi Tushar,

On Thursday, February 23, 2012 5:43 AM You wrote:

> After implementing genpd framework for EXYNOS4, (Ref commit 91cfbd4
> "ARM: EXYNOS: Hook up power domains to generic power domain
> infrastructure" in Kukjin's for-next branch), we are getting following
> warning from s5p-hdmi driver.
>
> The test was done on Origen board with code based on 3.3-rc4 and
> Kukjin's for-next branch. [1]
>
> ------------[ cut here ]------------
> WARNING: at drivers/regulator/core.c:1503 _regulator_disable+0xf8/0x164()

(snipped)

Thanks for the report. We know about this issue. It is not really related to
regulators nor s5p-tv driver. There is something broken (or misused) in the
gen_pd driver and its implementation for Exysno4 hw. If you dig a bit into
the problem You can observe the following call sequence on device probe:

exynos4_genpd_enable()
s5p_tv_runtime_disable()
exynos4_genpd_disable()

So the call to s5p_tv_runtime_disable is not balanced with s5p_tv_runtime_resume()
what causes the error you have posted. It looks that runtime pw framework makes
some wrong assumptions about the state of the device once power domain has been
registered.

The same problem appears for s5p-fimc and s5p-mfc, although it is not observed
as kernel error, but these devices also suffers from it - their clocks get disabled
one time too much so they do not operate correctly.

We are investigating this issue further.

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center


The above message is intended solely for the named addressee and may contain trade secret, industrial technology or privileged and confidential information otherwise protected under applicable law. Any unauthorized dissemination, distribution, copying or use of the information contained in this communication is strictly prohibited. If you have received this communication in error, please notify sender by email and delete this communication immediately.


Powyższa wiadomość przeznaczona jest wyłącznie dla adresata niniejszej wiadomości i może zawierać informacje będące tajemnicą handlową, tajemnicą przedsiębiorstwa oraz informacje o charakterze poufnym chronione obowiązującymi przepisami prawa. Jakiekolwiek nieuprawnione ich rozpowszechnianie, dystrybucja, kopiowanie lub użycie informacji zawartych w powyższej wiadomości jest zabronione. Jeśli otrzymałeś powyższą wiadomość omyłkowo, uprzejmie proszę poinformuj o tym fakcie drogą mailową nadawcę tej wiadomości oraz niezwłocznie usuń powyższą wiadomość ze swojego komputera.
��.n��������+%������w��{.n�����{��g����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux