<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [NVC1] HDMI audio device only visible after rescan"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75985#c108">Comment # 108</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [NVC1] HDMI audio device only visible after rescan"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75985">bug 75985</a>
from <span class="vcard"><a class="email" href="mailto:dan@reactivated.net" title="Daniel Drake <dan@reactivated.net>"> <span class="fn">Daniel Drake</span></a>
</span></b>
<pre>If codec devices are always child devices of the controller, then I also wonder
if codec_powered could be completely removed.
Seems like the PM core already ensures the children are inactive before
suspending the controller:
<span class="quote">> The idle callback (a subsystem-level one, if present, or the driver one) is
> executed by the PM core whenever the device appears to be idle, which is
> indicated to the PM core by two counters, the device's usage counter and the
> counter of 'active' children of the device.
>
> * If any of these counters is decreased using a helper function provided by
> the PM core and it turns out to be equal to zero, the other counter is
> checked. If that counter also is equal to zero, the PM core executes the
> idle callback with the device as its argument.</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>