From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757460AbcG1MFK (ORCPT ); Thu, 28 Jul 2016 08:05:10 -0400 Received: from cit-hm8-mail01.bmw-carit.de ([212.118.206.84]:33064 "EHLO cit-hm8-gw01.bmw-carit.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757122AbcG1MFF (ORCPT ); Thu, 28 Jul 2016 08:05:05 -0400 X-Greylist: delayed 353 seconds by postgrey-1.27 at vger.kernel.org; Thu, 28 Jul 2016 08:05:05 EDT X-CTCH-RefID: str=0001.0A0C0204.5799F385.01A1,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Subject: Re: [RFC v0 4/8] Input: goodix: use firmware_stat instead of completion To: Bastien Nocera , Daniel Wagner , Bjorn Andersson , Dmitry Torokhov , Greg Kroah-Hartman , Johannes Berg , Kalle Valo , Ohad Ben-Cohen References: <1469692512-16863-1-git-send-email-wagi@monom.org> <1469692512-16863-5-git-send-email-wagi@monom.org> <1469704952.6761.142.camel@hadess.net> CC: , , , , , From: Daniel Wagner Message-ID: Date: Thu, 28 Jul 2016 13:59:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <1469704952.6761.142.camel@hadess.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.50.67] X-ClientProxiedBy: CIT-HM8-EX01.bmw-carit.intra (10.40.100.13) To CIT-HM8-EX01.bmw-carit.intra (10.40.100.13) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/28/2016 01:22 PM, Bastien Nocera wrote: > On Thu, 2016-07-28 at 09:55 +0200, Daniel Wagner wrote: >> From: Daniel Wagner >> >> Loading firmware is an operation many drivers implement in various >> ways >> around the completion API. And most of them do it almost in the same >> way. Let's reuse the firmware_stat API which is used also by the >> firmware_class loader. Apart of streamlining the firmware loading >> states >> we also document it slightly better. >> >> Signed-off-by: Daniel Wagner > > Irina added and tested that feature, so best for her to comment on > this, as I don't have any hardware that would use this feature. In case you have any comments on the API, let me know. I'll add Irina to the Cc list in the next version. cheers, daniel