But this made me wonder whether we don't need to call this function at resume as well? Currently it's called only at probing.
Yes, it only call at probing. Just need to call it at boot time.
-----Original Message----- From: Takashi Iwai tiwai@suse.de Sent: Wednesday, January 9, 2019 5:43 PM To: Kailang kailang@realtek.com Cc: (alsa-devel@alsa-project.org) alsa-devel@alsa-project.org Subject: Re: hp_pin was NULL value
On Wed, 09 Jan 2019 10:31:33 +0100, Kailang wrote:
Hi Takashi,
Could I move the alc294_hp_init(codec) to below line. Because hp_pin = spec->gen.autocfg.hp_pins[0] was null value when alc294_hp_init(codec) at original line. Or move alc269_parse_auto_config() upward.
It looks OK to me. But this made me wonder whether we don't need to call this function at resume as well? Currently it's called only at probing.
thanks,
Takashi
------Please consider the environment before printing this e-mail.