Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760074AbcLPJal (ORCPT ); Fri, 16 Dec 2016 04:30:41 -0500 Received: from mx2.suse.de ([195.135.220.15]:37932 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755176AbcLPJae (ORCPT ); Fri, 16 Dec 2016 04:30:34 -0500 Date: Fri, 16 Dec 2016 10:29:52 +0100 From: "Luis R. Rodriguez" To: Milo Kim Cc: Jacek Anaszewski , "Luis R. Rodriguez" , gregkh@linuxfoundation.org, ming.lei@canonical.com, daniel.wagner@bmw-carit.de, teg@jklm.no, mchehab@osg.samsung.com, zajec5@gmail.com, linux-kernel@vger.kernel.org, markivx@codeaurora.org, stephen.boyd@linaro.org, broonie@kernel.org, zohar@linux.vnet.ibm.com, tiwai@suse.de, johannes@sipsolutions.net, chunkeey@googlemail.com, hauke@hauke-m.de, jwboyer@fedoraproject.org, dmitry.torokhov@gmail.com, dwmw2@infradead.org, jslaby@suse.com, torvalds@linux-foundation.org, luto@amacapital.net, fengguang.wu@intel.com, rpurdie@rpsys.net, Abhay_Salunke@dell.com, Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, dhowells@redhat.com, bjorn.andersson@linaro.org, arend.vanspriel@broadcom.com, kvalo@codeaurora.org, linux-leds@vger.kernel.org Subject: Re: [PATCH 4/5] firmware: add SmPL report for custom fallback mechanism Message-ID: <20161216092952.GQ13946@wotan.suse.de> References: <20161213030828.17820-1-mcgrof@kernel.org> <20161213030828.17820-5-mcgrof@kernel.org> <10f8c7f7-a255-4830-65f0-a040d8236bf1@samsung.com> <271c9d23-d35e-252b-d03b-651457112d28@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <271c9d23-d35e-252b-d03b-651457112d28@gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 27 On Wed, Dec 14, 2016 at 10:48:37AM +0900, Milo Kim wrote: > Hi Jacek, > > On 12/13/2016 06:44 PM, Jacek Anaszewski wrote: > > > > Could you please verify if leds-lp55xx-common.c driver > > really needs a custom firmware loading fallback mechanism? > > Thanks for sharing this. The lp55xx-common uses this mechanism to load and > run LED effect manually, so this could be a misuse case. > I think the right solution is providing device attributes. Run LED manually using request_firmware()? What the.. yes this sounds odd. > At this moment, four drivers use lp55xx-common code. > > - lp5521, lp5523: OK if we do not support FW loading fallback mechanism > - lp5562, lp8501: need to create additional sysfs alternatively. Phew! > However, we should be careful because I'm not sure this modification will > generate the regression (breaking the user-space) or not. Right so not breaking old userspace is critical. Luis