Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6290565imu; Mon, 21 Jan 2019 06:28:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN54YxY251JpfIt2RBe9cg8BqlNmVEKqyNzUrovjQs7toRjOXdz1ajoVQvJDBhOZiLO3u9k2 X-Received: by 2002:a62:56c7:: with SMTP id h68mr31091469pfj.134.1548080923702; Mon, 21 Jan 2019 06:28:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548080923; cv=none; d=google.com; s=arc-20160816; b=k3wTShIU78kgGonsAnEA5JT8Vr2ha/wWQpiOpavAkf8CJqv3n2sVwm5ekskiSwISro Xf2x2Fexh1l8Ae511Pkqh6AmrEOril3Djl6DY/rwM/x7RgC3Dd5BCuJITxHB6RqWWDID 3LAkK1XUUSRDnGVNGklDydTMXxJhAccTaxJMyR+JzhRqOPNXupIomcfpASomf2/vxHRT kBorVMI1YhRflWoPYU869O+N1nJBemm56QMIVac9Pyy7VvvFOyrGhyTG0VjoKyueNaE5 Ho2ud01gbb/DfUWZSj+TswKNn91D3oHP8F+ukr7evDgYlOwuakGoKzme1Y10Q8FTOb+T fg+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4l4d3MI03wm+L1QqCOyUl6n7esdnkzB2Sz3Unosk9F0=; b=UXuXP/NrMtSJCyn9FkkjQGGCe1FkkU5/ioCMoOxEe9UmdKmZ0w91GP5DXweHTH4CdW FJF/umWRixuxZWRqHvWaEQ6pWzZmr5VO0qFUqXDvuXMKqp0njjwuUwTtG64poaY+QNeb KpIsbzwg2iR9W076Jrs2Q+TgSI3roft0XOStRa4aV3G4LMF7AkD28a6NxVg54MWm2Qsj EWpCVhPZF/O2sq1rmnY5j3IB1Oe0gbC8PDbcNUvTh4xsJ1qlzg15HIJkxUq3WhLFlPHE hq6foibTpLw6XZ2AdO9X3v+dtESPliAJd0ERUimKKk4ztEiCLccy7S87G75xEn6DA5zq S+wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N9XdJv9u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si12530745plp.147.2019.01.21.06.28.24; Mon, 21 Jan 2019 06:28:43 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=N9XdJv9u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729195AbfAUO1L (ORCPT + 99 others); Mon, 21 Jan 2019 09:27:11 -0500 Received: from mail-lj1-f176.google.com ([209.85.208.176]:37044 "EHLO mail-lj1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728998AbfAUO1L (ORCPT ); Mon, 21 Jan 2019 09:27:11 -0500 Received: by mail-lj1-f176.google.com with SMTP id t18-v6so17706604ljd.4 for ; Mon, 21 Jan 2019 06:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4l4d3MI03wm+L1QqCOyUl6n7esdnkzB2Sz3Unosk9F0=; b=N9XdJv9ueixP61EMkaraeKhOJQyYOMiafzlisTsk4e+ga4zFroy1beuu5Mu5tbuBFn UML+IaXrwT5sLKi6aX0KPRM3pUiV3ahD7pUxbbFAi278n2KAkpgaOk2/Nj7ujotcQKaH e2m17C/a5k2Yzxz+1CznbamdbXdCGmTUgV4AQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4l4d3MI03wm+L1QqCOyUl6n7esdnkzB2Sz3Unosk9F0=; b=eUdohx+N2qFD45iZxMSzgC42WdUWzwdBG+eQG9TnTaI1XAUtwbpWGr0YPygmzM/Pw5 asA5tBh6jzrQqeTy3+jfn9UJ/FP9UKOrLmJ5Sah4foZZrR8iKqwhHt6U0Zrk7FXLNVO4 QSLkYfcbNlerPTLUAUjHI4UmopE1jKbFuhO2PjPfQBCptl3x+eg8prT+fKNFR1ZbUR4h 5K04DxsGnDQN5SqVGQ8YV8o9e8MWQZH1N6Cqn0pFwWR0yKhfU/MAtaZZ2H4BCsyhALw8 ySeRns/Fh5ZKCxZaVBtQ93Atxk9jda+B4P1uUZ3s2BF7pbfH5VRdKGuUirfyN5ZpwNZm 8SkQ== X-Gm-Message-State: AJcUuke8cf5WQSkT45AhKPx12EZT8HHm8oCfSxuCWDOwOg75DbT1DQQP r+MehbTA//bCT3lVRMfxOQ8UW2iTjaaJK472TJxpbiGzMdA= X-Received: by 2002:a2e:29d7:: with SMTP id p84-v6mr17933228ljp.12.1548080829336; Mon, 21 Jan 2019 06:27:09 -0800 (PST) MIME-Version: 1.0 References: <94b9acab-a739-a014-b068-768f40de38ec@linux.intel.com> In-Reply-To: <94b9acab-a739-a014-b068-768f40de38ec@linux.intel.com> From: Linus Walleij Date: Mon, 21 Jan 2019 15:26:57 +0100 Message-ID: Subject: Re: pinctrl: -EAGAIN not supported but documented To: Ramon Fried Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 21, 2019 at 2:28 PM Ramon Fried wrote: > Stated in Documentation/driver-api/pinctl.rst: > > Since some controllers have special logic for handling entire groups of pins > they can exploit the special whole-group pin control function. The > pin_config_group_set() callback is allowed to return the error code -EAGAIN, > for groups it does not want to handle, or if it just wants to do some > group-level handling and then fall through to iterate over all pins, in > which > case each individual pin will be treated by separate pin_config_set() > calls as > well. > > ---- > > This is not supported, and there's no code for handling it. > > Should we add the necessary code or just remove the wrong documentation. The idea was removed in: commit ad42fc6c84795d19972e7f7dee70fe74bec4c2d8 "pinctrl: rip out the direct pinconf API" I think we should just remove the documentation. Do you want me to look into it or do you want to send a patch? Yours, Linus Walleij