Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp315965pxu; Wed, 14 Oct 2020 01:58:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdkqHK6+5nFP3iqVF7MbXu9UwjyqxalMZqgyIgDyxpGNeLzQJIFXfrh1PIdAe1dSBAbQdI X-Received: by 2002:a17:906:4d1:: with SMTP id g17mr4179559eja.38.1602665937356; Wed, 14 Oct 2020 01:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602665937; cv=none; d=google.com; s=arc-20160816; b=zAnCUknhN5PDF5o0Fe2rvULkufY7xv5dknT+eyLIFKeNa3DdazG3akyr2pt9HY5qfr qREzHSEBNA2F3a4eoNhM0Wz9qtNnOJ0U22WHNLKX0Tc8kWwJ+FaJO9JRghJnlLzkNr7L Y3CXlgb4bKeZbHIRbPMnqwPAi5awQKYILaCI4KEdtAV3z88KYcizjUAeDhZTp9zHBVZk xXEZE5/4MPwwZHims28eJ7hOmhLfG4DL3AHpNg/cYzpoYx9aIltYXt50f1s8ZokCScLA ouTsoXG4HciUbv7keD+dYeqJia9f5fgUbmPT+SDoXsYgvyf9RTfbHRXVqeHmzRQ+7h46 zdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=y3/kJq0+ubAoicKAPcMF5qJVdjVrNtLOzruqoCwd8Z0=; b=Ex+Te96cRTakcNdTXU6w889C/ljdzFLdAEg2eeYHmt5L8pbX++bcuQjlFAoyZdy7Kk Fjgd6A5w7/nl/ECXblZjSrCOhG+Z4WtwnF9NfkMIIYOQQ5p3eJZ/g3f1zF/lEXiXu2vq ywIVPUj5EVwnU6+FtWhCZtuHeszU2rgOmhJdO3qlccsgdQqnaolVuMR5kgZImwUKNrph 5TbCRoY46zO8AS619N3NNW6awZb0tgE9Go6qbI1GEnEt0B18noaxYUAcXMnto1FT9cEr yCge/lkfHpjN0dEo4co0yuo+0DsJjZ6wqIJl9V2xXlbozEt6UQV/0+tZ29JRMwF/r03J mbXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p89si1601629edd.109.2020.10.14.01.58.34; Wed, 14 Oct 2020 01:58:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728432AbgJNH67 (ORCPT + 99 others); Wed, 14 Oct 2020 03:58:59 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:53662 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728388AbgJNH66 (ORCPT ); Wed, 14 Oct 2020 03:58:58 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 77A311C0B87; Wed, 14 Oct 2020 09:58:54 +0200 (CEST) Date: Wed, 14 Oct 2020 09:58:53 +0200 From: Pavel Machek To: Takashi Iwai Cc: Randy Dunlap , Udo van den Heuvel , "linux-kernel@vger.kernel.org" , linux-leds@vger.kernel.org, Dan Murphy , moderated for non-subscribers Subject: Re: disabling CONFIG_LED_CLASS (SND_HDA_CODEC_REALTEK) Message-ID: <20201014075853.GB29881@amd> References: <3c6d174c-30db-3d03-3d16-42df405f38d9@xs4all.nl> <58e774c5-fc80-2060-2091-9a6398582cc5@infradead.org> <9fc679e9-e9a9-ad80-b24c-f04489b98aa7@xs4all.nl> <27e159be-4376-e87b-5e60-803bc3749ec2@infradead.org> <2739e1fd-75c6-4e43-cd79-9028479f91bf@infradead.org> <1e6b1961-9e9b-5f82-86a1-bf838cb68f55@xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yEPQxsgoJgBvi8ip" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yEPQxsgoJgBvi8ip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > >>> I.e.: it looks like I will lose some funcionality when I disable > > > >>> SND_HDA_CODEC_REALTEK. > > > >> > > > >> OK. At present you can't have it both ways, i.e., SND_HDA_CODEC_RE= ALTEK > > > >> with no LEDS. That driver apparently wants LEDS. > > > >=20 > > > > Thanks but why have I gone for years without LEDS? > > > > I do not need LEDS, I do not want LEDS, I do not have LEDS (that are > > > > visible, usable, etc). > > > >=20 > > > > Please make this selectable instead of forcing more bulk into my ke= rnel. > > >=20 > > > Hi Takashi, > > >=20 > > > Regarding > > > commit 7cdf8c49b1df0a385db06c4f9a5ba1b16510fdcc > > > Author: Takashi Iwai > > > Date: Thu Jun 18 13:08:31 2020 +0200 > > > ALSA: hda: generic: Add a helper for mic-mute LED with LED classd= ev > > >=20 > > > and this Kconfig entry: > > >=20 > > > config SND_HDA_CODEC_REALTEK > > > tristate "Build Realtek HD-audio codec support" > > > select SND_HDA_GENERIC > > > select SND_HDA_GENERIC_LEDS > > >=20 > > > it seems that LED support is not always wanted (please see above). > > > I.e., user(s) would like to build a kernel without LED support at all. > > >=20 > > > Can you make it a build option? > >=20 > > Something like this? >=20 > This one is more suitable for the merge :) That will still break the build if SND_HDA_CODEC_REALTEK=3Dy and SND_HDA_GENERIC_LEDS=3Dm, no? Lets keep things as they are. Contrary to his claims, Udo very probably has LEDs in his systems... Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --yEPQxsgoJgBvi8ip Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl+Gr70ACgkQMOfwapXb+vIC4wCfT4KC6/tj5oHpUZovLlQWxfP/ ubgAnjVBdTXPjA/O6oNFfO6DvgYcSOsa =pwWX -----END PGP SIGNATURE----- --yEPQxsgoJgBvi8ip--