Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Takashi Iwai Newsgroups: linux.debian.bugs.dist,linux.kernel,linux.debian.kernel Subject: Bug#931507: [PATCHv2] hda: Fix 1-minute detection delay when i915 module is not available Date: Sat, 27 Jul 2019 08:40:02 +0200 Message-ID: References: X-Original-To: Samuel Thibault X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Jul 27 06:36:09 2019 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.951 Reply-To: Takashi Iwai , 931507@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Kernel Team X-Debian-Pr-Message: followup 931507 X-Debian-Pr-Package: src:linux X-Debian-Pr-Keywords: patch upstream a11y X-Debian-Pr-Source: linux X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 69; spammy, 0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-, 0.000-+--H*u:sk:x86_64-, 0.000-+--i915, 0.000-+--H*u:2.15.9, 0.000-+--H*UA:2.15.9 User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) 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 X-Debian-Message: from BTS X-Mailing-List: archive/latest/1548115 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Jaroslav Kysela , , <931507@bugs.debian.org>, X-Original-Date: Sat, 27 Jul 2019 08:33:21 +0200 X-Original-Message-ID: X-Original-References: <20190726214702.kxi2gavlieiwyf7q@function> <20190706221236.jai2hedppj5ysecs@function> <20190726214702.kxi2gavlieiwyf7q@function> Xref: csiph.com linux.debian.bugs.dist:966738 linux.kernel:1743356 linux.debian.kernel:64561 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