On Fri, 23 Oct 2020 14:44:18 +0200,
Kai-Heng Feng wrote:
>
>
>
> > On Oct 23, 2020, at 19:32, Takashi Iwai wrote:
> >
> > On Fri, 23 Oct 2020 12:23:35 +0200,
> > Kai-Heng Feng wrote:
> >>
> >> +static void hda_codec_pm_complete(struct device *dev)
> >> {
> >>struct hda_codec *codec = dev_
> On Oct 23, 2020, at 19:32, Takashi Iwai wrote:
>
> On Fri, 23 Oct 2020 12:23:35 +0200,
> Kai-Heng Feng wrote:
>>
>> +static void hda_codec_pm_complete(struct device *dev)
>> {
>> struct hda_codec *codec = dev_to_hda_codec(dev);
>> -int ret;
>>
>> -ret = pm_runtime_force_resume
On Fri, 23 Oct 2020 12:23:35 +0200,
Kai-Heng Feng wrote:
>
> +static void hda_codec_pm_complete(struct device *dev)
> {
> struct hda_codec *codec = dev_to_hda_codec(dev);
> - int ret;
>
> - ret = pm_runtime_force_resume(dev);
> - /* schedule jackpoll work for jack detection up
Upon system resume, hda_codec_pm_resume() uses hda_codec_force_resume()
to resume the codec. However, pm_runtime_force_resume() won't really
resume the codec because of pm_runtime_need_not_resume() check.
Hence, hda_codec_force_resume() schedules a jackpoll work, which is to
really power up the co
4 matches
Mail list logo