From patchwork Sat Mar 30 15:04:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1070882 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="SC1vbPup"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44WhjQ1Vh5z9sRQ for ; Sun, 31 Mar 2019 02:04:57 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730558AbfC3PE4 (ORCPT ); Sat, 30 Mar 2019 11:04:56 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:36943 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730531AbfC3PE4 (ORCPT ); Sat, 30 Mar 2019 11:04:56 -0400 Received: by mail-lf1-f67.google.com with SMTP id u2so3360780lfd.4 for ; Sat, 30 Mar 2019 08:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=T0obJPIPoNaG783yquHbuq+2xdaotgm3WQPcjV0Jbp4=; b=SC1vbPup7FolDbTRxT76JWeTI1ISsZQz1tWI4iJ8SYeerO4fEPkbNhNCL+DjDcFUtM yQFFMEI6JFk3KIptV8egZHJA/Ao52Z/J4iZeKZoLKzUuIM4WvXTxAnC1Fn6HF6pTLgB6 SVAw59nhbcUCTo+aDx0UzrDOLkt2zeEU/oTRF8h+55DTUhmSZ8aQH8dp5jsL8n1gC92B qaw5ltVuvs2WHAgCL1V+Urj7Ocw/92Kv3lzdFwGqNkoWwgQJ9yvxeJ0VxMFEJ2JbuzAZ ABgTXP01aezg6YKb6FwlwrmD/jb+PfCtQ703cBhQ9utJ8MA9rurIcRIgTf+C4oaYCReq k1BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=T0obJPIPoNaG783yquHbuq+2xdaotgm3WQPcjV0Jbp4=; b=N5rU3YngGD3RoX1tmcrjCZe2X6gGlFNcsplogWjDRJZYurA64eqqT0LTEOEhKoMo5C tEHIF8Uu/f5xgKGSbGqiCWZWXKY37UOCVIbnJYbQFeuFDJGZhY9o1r1m2I+KFhQwIW4X bUX/unIvLEDj/MvLaKQNcAmtkhAwo8ARls2Uc7HKSrI/0Sq8fGnRMnMWchDE7NiFJlXZ vfsN9k001x1YDgriLokSU/usKxgtvk6lg9Ra8cW7f6FFoY5T9BUZFSUiEhBEynSTvLTG svis5tWJQ6W+ulGef7SGeFeVJfWRy6v0p0KiNOktFMnuggdyEFRNoQ/woCxuDSxFgZ1B Rcww== X-Gm-Message-State: APjAAAUdK7sFyfJ4qN7njankUnhUkcpkS1i9g29L2ntuPtK4H1CJGBkL asaPORbJBDHPuScNhbKRx4/qPCWsdR7G90YX2t5jsw== X-Google-Smtp-Source: APXvYqzP9X109hmIMXsMjSbOJ56JpJt8v7BJBEX8lfc+MoBubQZRLuH/DvZmk+eCQNyoGCXHBazNFRlQ6V2fqlidcR0= X-Received: by 2002:ac2:4304:: with SMTP id l4mr19433785lfh.168.1553958294183; Sat, 30 Mar 2019 08:04:54 -0700 (PDT) MIME-Version: 1.0 From: Linus Walleij Date: Sat, 30 Mar 2019 16:04:42 +0100 Message-ID: Subject: [GIT PULL] GPIO fixes for the v5.1 series To: Linus Torvalds Cc: "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , linux-kernel Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Linus, here is the first set of GPIO fixes for the v5.1 series, as you can see I was away on leave and Bartosz kindly stepped in and collected a slew of fixes, I pulled them into my tree in two sets and merged some two more fixes (fixing my own caused bugs) on top. Please pull it in! Yours, Linus Walleij The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git tags/gpio-v5.1-2 for you to fetch changes up to 86d0756558b701b2c5502d90f705c2936008922d: Merge tag 'gpio-v5.1-rc3-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into fixes (2019-03-29 03:04:47 +0100) ---------------------------------------------------------------- GPIO fixes for the v5.1 series: - Revert the extended use of gpio_set_config() and think about how we can do this properly. - Fix up the SPI CS GPIO handling so it now works properly on the SPI bus children, as intended. - Error paths and driver fixes. ---------------------------------------------------------------- Andrew Jeffery (1): Revert "gpio: use new gpio_set_config() helper in more places" Andrey Smirnov (2): gpio: of: Check propname before applying "cs-gpios" quirks gpio: of: Check for "spi-cs-high" in child instead of parent node Axel Lin (1): gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input Bartosz Golaszewski (2): gpio: mockup: fix debugfs read gpio: mockup: use simple_read_from_buffer() in debugfs read callback Geert Uytterhoeven (1): gpio: of: Fix of_gpiochip_add() error path Kangjie Lu (2): gpio: exar: add a check for the return value of ida_simple_get fails gpio: aspeed: fix a potential NULL pointer dereference Linus Walleij (2): Merge tag 'gpio-5.1-rc2-fixes-for-linus' of git://git.kernel.org/.../brgl/linux into fixes Merge tag 'gpio-v5.1-rc3-fixes-for-linus' of git://git.kernel.org/.../brgl/linux into fixes Thomas Gleixner (1): gpio: amd-fch: Fix bogus SPDX identifier drivers/gpio/gpio-adnp.c | 6 ++++-- drivers/gpio/gpio-aspeed.c | 2 ++ drivers/gpio/gpio-exar.c | 2 ++ drivers/gpio/gpio-mockup.c | 10 +++------- drivers/gpio/gpiolib-of.c | 17 ++++++++++++----- drivers/gpio/gpiolib.c | 4 ++-- include/linux/platform_data/gpio/gpio-amd-fch.h | 2 +- 7 files changed, 26 insertions(+), 17 deletions(-)