Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp670284imm; Wed, 19 Sep 2018 05:12:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZzbaMYwP5OqsM2l1meaVW2oWKqqxn/8lVfyIiIIXfbtjhs4GUO1a1F6Xjy/41JiKD2jPAY X-Received: by 2002:a63:1947:: with SMTP id 7-v6mr32477203pgz.192.1537359124277; Wed, 19 Sep 2018 05:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537359124; cv=none; d=google.com; s=arc-20160816; b=C84CQXCaxuaEz0jAdB93WUIvxGZKUU2YTePY38iYJt14mbByoVHXpxNLgKg5Ch/WaE WPjrQqvwI1kb2q8kQg5OjlEX50dXN9iXnPe8Xt03rMfoB9ub6ZSwELoVNr78gHTRv+AL qGjuorrqJaZiKawkl8R5GOh+48TgkdchYVHjxkJgdCNZNbJttty6/Zv1WTuYFG0aYi+/ dzHZaQ+mWVtjBbi7ZzD2YIgMyf5fWX09KGolMAtPquU6t0rz4L6TS8S5CfN3jdCteuVS Fde5ILCru31OLi6OjhSgV8CcPcuFMESymL4GgaWnEdrCypRJdrrk1rgaFC9cI4MXmPb/ 37WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=JDRXpzUiQ60eJ9kUT2tFKKpoI402+Ps8O1F9PhMjUgw=; b=MdpPdxTzDa3IXS0Swl3lVXH2Fxg+TpNZS7niWI8SoQ6flLCicQYPOGfJu9b3lJYwzz f2i+E9BE0BgZAHdnzwbklaGNHp5cIYDj5zwYSKEEjqP1XwEq+PVgCAFSu6DPzbRzjZue axe2sDnZIBB1fp8xghfx2ooolGoFgKwG69AAzzOKF9oJxUGNxh2JKXV0M8ou/QE0vWBb JYzEogkzCrNvqjugXewLVrQvuUOLQcUrZi1t4epm9dPwcyaUDs1wgczOkZyfzKBiRO8u hsZOBOUrv5siQ8t7xY6wkBU0mdIlByaXXJRwjT2nAKEZBXaRMiYz+HLJvBP1UVNhREQA wZ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i7+oUl2Q; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4-v6si21176130pgo.390.2018.09.19.05.11.39; Wed, 19 Sep 2018 05:12:04 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=i7+oUl2Q; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731402AbeISRsn (ORCPT + 99 others); Wed, 19 Sep 2018 13:48:43 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:46420 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727834AbeISRsn (ORCPT ); Wed, 19 Sep 2018 13:48:43 -0400 Received: by mail-oi0-f68.google.com with SMTP id y207-v6so4820497oie.13; Wed, 19 Sep 2018 05:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JDRXpzUiQ60eJ9kUT2tFKKpoI402+Ps8O1F9PhMjUgw=; b=i7+oUl2Q1J1BvaaHw6y0+C9WmTXPP/qGw+1FqHmDIq6NVzZJsuo548peOkOQ+uTqX0 +uZ6vdOCX2AfaOUqIERCZQzCqKjmSIvyEOHONQb7T2/WKEFFJw59C7NJgcdx6CDSkKlR oOKN8+fAPef7gmSEGKHEuJsyiyYNMMfymCE16SOs3IRO8UFjOL/DArh5TOW0n4UbEmDn ufJqjcBtJD7bMF2qgfyb2Oj6L8Nruc5h1W7+MnTL6Yu1Z4gOefVaMM/mILlUld+x9Thn /asTj/23wRjxIGTgHxD8g0n8c5rX7fWfEbZh/nTlOfCq1Yd5TGIUZLXyB57b6SH0+r4A RDRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JDRXpzUiQ60eJ9kUT2tFKKpoI402+Ps8O1F9PhMjUgw=; b=SK9UpHGm4tfbib8hrtfLR/pTr8Rbo0WNaNr18wSfD5JnJidE7O1KDlEGiA6rPxnEyu zFYl/UnYQcHKm+cmGcSI5SZCfrFP7uYVnb1RsMeBOohyq5Gmu/bE4MP4w6p3ss8b1cNb pHvpMNR1Cfb38VJWMeskfLKdRZsA5qB8LgxUoAxCkIA6MimY+mdAPVfM+UMMXKbh+feK JhHegtbEO0/M2FuTfg/VWsO4PbaRVzf6KgzcQNj8ZcWMY23J9uP5sd4ZgSxBcKQ+IT+x F7OVntv4xMNeJnchNQM92+Q5lYcjlfHBMkNJSV/+T8NVM28+/3faOAtEmRfjLxxxdQFu qh8Q== X-Gm-Message-State: APzg51BXQQfcIgA+LOzxbSpxPuokTnQ28nJmyfleJeuALnfas0aGJQhh DQ4FbHVfKdHOEvE2r56xhu+q76w9vKtSF1to4J0= X-Received: by 2002:aca:90d:: with SMTP id 13-v6mr1483961oij.300.1537359064364; Wed, 19 Sep 2018 05:11:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:cca:0:0:0:0:0 with HTTP; Wed, 19 Sep 2018 05:11:03 -0700 (PDT) In-Reply-To: <1537348724-22976-1-git-send-email-michal.vokac@ysoft.com> References: <1537348724-22976-1-git-send-email-michal.vokac@ysoft.com> From: Fabio Estevam Date: Wed, 19 Sep 2018 09:11:03 -0300 Message-ID: Subject: Re: [PATCH 1/2] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset To: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= Cc: Bartlomiej Zolnierkiewicz , Shawn Guo , Fabio Estevam , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , linux-fbdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On Wed, Sep 19, 2018 at 6:18 AM, Michal Vok=C3=A1=C4=8D wrote: > The reset signal can be produced by GPIO expander that can sleep. > In that case the probe function fails. Allow using GPIO expanders for > the reset signal by using the non-atomic gpiod_set_value_cansleep() > function. > > Signed-off-by: Michal Vok=C3=A1=C4=8D Reviewed-by: Fabio Estevam