Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp968735ybi; Fri, 26 Jul 2019 23:56:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4ZhUW5OJbZNbyqX9FuCl55Ymng5LkN1X9e2MRTfabApCNVDAnKPDde968VRROBSL9ss2e X-Received: by 2002:a63:de4f:: with SMTP id y15mr98403702pgi.239.1564210619508; Fri, 26 Jul 2019 23:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564210619; cv=none; d=google.com; s=arc-20160816; b=CqBkisvcPEwm3U9NzI9KoCKR/7lW8VktZGh4cyVNdjmNQMk7bh12x1CX1Nd9QTtkbE GmPoL2Tn/cyq7VAOUxv4wg/6hGfW2QQKtvqbmDbn25qtj/lIjGbtITaNCY1rb+dpQ3+E NKdCmVsrFXplXRSRE3moFEcEqdqLwc/aEQSgw9xCb+/ZBaNzP+/07iGzJt+kAsgeTAac eG1kZ97qjrIPKbw0hNp3qeUnKcbNpoKsxc3WtfcHO4+xe1/B9TA9OXRZZo1rGXWkQzte xi6iQgj82ZslGZ+KFKBHQ1KfZM37ifihJl+B2/ycsTjk3VDmrda3WbGlqdJxC22/du53 VzFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=UXTWLIZvopKn6ksji/r0hNQTqiEP0qUF5ewOSXy9r4s=; b=pVJYTkHhdXNV+w+ysv3WVavNGESeWZ2C2iinYDr5lLwMDmQmwl0JWI+O133UGQhR6N NiG9Pbp6nZy5nbsB5JH2StvLMLSBRWo/iNQBT4hYJQ/hCxg4aaIRMwgwJ59HvgPf+0/q 2aPxiQC858Dt5FxoaH/I3jZ9cRw73cqWuI6DwuBIVR+yoGvCnedld3j1QP5k9dvKjyvJ vrL63YI95vBZnmCLiPqM6BaEPixvB1+3CBssle4Zwx7gcE29JdbCa96HSLiyW+rKcGlU ORKnq57qic/o5Un4N/GqX07sRnWa8Aoboj5bY9kaDRerYVKAcT/IALZ/8dKzBXmN05Wl MevA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 7si21021773pga.439.2019.07.26.23.56.44; Fri, 26 Jul 2019 23:56:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728574AbfG0GdX (ORCPT + 99 others); Sat, 27 Jul 2019 02:33:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:60464 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727614AbfG0GdX (ORCPT ); Sat, 27 Jul 2019 02:33:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F2C3FAF83; Sat, 27 Jul 2019 06:33:21 +0000 (UTC) Date: Sat, 27 Jul 2019 08:33:21 +0200 Message-ID: From: Takashi Iwai To: Samuel Thibault Cc: Jaroslav Kysela , , <931507@bugs.debian.org>, Subject: Re: [PATCHv2] hda: Fix 1-minute detection delay when i915 module is not available In-Reply-To: <20190726214702.kxi2gavlieiwyf7q@function> References: <20190726214702.kxi2gavlieiwyf7q@function> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Jul 2019 23:47:02 +0200, Samuel Thibault wrote: > > Distribution installation images such as Debian include different sets > of modules which can be downloaded dynamically. Such images may notably > include the hda sound modules but not the i915 DRM module, even if the > latter was enabled at build time, as reported on > https://bugs.debian.org/931507 > > In such a case hdac_i915 would be linked in and try to load the i915 > module, fail since it is not there, but still wait for a whole minute > before giving up binding with it. > > This fixes such as case by only waiting for the binding if the module > was properly loaded (or module support is disabled, in which case i915 > is already compiled-in anyway). > > Signed-off-by: Samuel Thibault Applied with a slight coding style fix in my side. Also added Fixes and Cc-to-stable tags. At the next time, please check the patch before submission via checkpatch.pl. Thanks! Takashi