From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbeCZIZ5 (ORCPT ); Mon, 26 Mar 2018 04:25:57 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:54676 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbeCZIZz (ORCPT ); Mon, 26 Mar 2018 04:25:55 -0400 X-Google-Smtp-Source: AIpwx4/stAp7de+MMR2ui2QbU73oVNGFy4SKW36xqIgFRhjhsaYQkv0Hk/8OPeCjlixoEs/8qc8ToTS4xZz7eNn8tCo= MIME-Version: 1.0 In-Reply-To: References: From: Linus Walleij Date: Mon, 26 Mar 2018 10:25:54 +0200 Message-ID: Subject: Re: [PATCH v4 3/7] gpio: pcie-idio-24: Implement get_multiple/set_multiple callbacks To: William Breathitt Gray Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 22, 2018 at 2:00 PM, William Breathitt Gray wrote: > The ACCES I/O PCIe-IDIO-24 series of devices provides 24 > optically-isolated digital I/O accessed via six 8-bit ports. Since eight > input lines are acquired on a single port input read -- and similarly > eight output lines are set on a single port output write -- the > PCIe-IDIO-24 GPIO driver may improve multiple I/O reads/writes by > utilizing a get_multiple/set_multiple callbacks. This patch implements > the idio_24_gpio_get_multiple function which serves as the respective > get_multiple callback, and implements the idio_24_gpio_set_multiple > function which serves as the respective set_multiple callback. > > Signed-off-by: William Breathitt Gray Patch applied. Yours, Linus Walleij