On Mon, Apr 08, 2019 at 10:27:06AM +0200, Stefan Sperling wrote:
> The dolby atmos hack is currently only run during boot, but it
> becomes ineffective after a suspend/resume cycle. So sound plays
> fine after a reboot but is only playing from the left speaker
> after suspend/resume.
> 
> This diff adds the hack in the resume path as well and fixes
> this issue on my matebook x.
> 
> ok?
> 
> diff bb051d67df64d185fb90f087d4ed42818e376163 /usr/src
> blob - a42ad9fc63873a7caed9af0fd2fbba508165863f
> file + sys/dev/pci/azalia.c
> --- sys/dev/pci/azalia.c
> +++ sys/dev/pci/azalia.c
> @@ -1407,6 +1407,9 @@ azalia_resume_codec(codec_t *this)
>       }
>       DELAY(100);
>  
> +     if (this->qrks & AZ_QRK_WID_DOLBY_ATMOS)
> +             azalia_codec_init_dolby_atmos(this);
> +
>       FOR_EACH_WIDGET(this, i) {
>               w = &this->w[i];
>               if (w->widgetcap & COP_AWCAP_POWER) {
> 

if this didn't already go in, ok mlarkin

Reply via email to