From patchwork Tue Oct 18 16:48:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak R Varma X-Patchwork-Id: 296 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2059990wrs; Tue, 18 Oct 2022 09:57:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Kn0LH3pyVngxCbQboznLqFyqSgjMTqkNUvr1WIt4nN0WA8dqLiic2d8hoxMTTHG2Cep8y X-Received: by 2002:a17:907:d03:b0:78e:16da:e4ae with SMTP id gn3-20020a1709070d0300b0078e16dae4aemr3323846ejc.202.1666112279207; Tue, 18 Oct 2022 09:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666112279; cv=none; d=google.com; s=arc-20160816; b=aF1L5lJ+3D5Bhm8rxusT7Pam7wrp1t44qJfD7JwR+KgyD2x4Tk45wA/ng8ZCGxkhRZ Q5AK2okpPX/4uovH+jekBKdevLwt7G3sf1g06dC+3gmh9+3P2hNjhIXh/ksQaZd655tB 669P5acf5du9xsbaUM4cz08FHUbO/wSp9NEScBr6v3O+weC5/vI7+hgHm4LMkE6sBz7r kwHf6l7uQ003mMk299UTdMVycbT62cLXMVBlT1iLMfhvqEhD7UAzwT3tG2WCRx15qeEg K/K8kXcZXTxxq1AlL1Eg82esA+GN+WEOIo8Y9vAer4xMBHGxLiWNZYNgXy05Q7+/n6Ml BTgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=4+dvG5dTanfS5KlB2tBdsZnLQRM8lJbQo5SFA+4vS5c=; b=rI08TxbpWFQFd8dxiM0eZnV9W0JQSOE/1OwYSAIMB7qtyA8ArKCVuMKwQ2EnBNV7YS gYI9Az2CIDf0CCCqU8Dbef9mEBWMpijWDIUbGU8+Hve2EUp8dPd8cPjFnHygU4Y1yvRl 1Df528pVC1WLK2JWfNRX6i1lKDzjleqf3rLtCdr7OOEs7OZX6O5DklJZGNXJjQCdpSHL 2d+srz8kVcPqsfVhfN875GuaqHdoq6JkE2bs4CheOOm7M0nK4EHJlrjnaqLiblnL77O7 EidaLRm+RA+GEMgLR4CFPBCg4lAMSiUK2T5vO7sD1zy79CjVbz0/mJw5inwpSX5Ez+lq PxVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=kwuhANf7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho33-20020a1709070ea100b007418e87eea8si12027888ejc.770.2022.10.18.09.57.34; Tue, 18 Oct 2022 09:57:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=kwuhANf7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbiJRQtE (ORCPT + 99 others); Tue, 18 Oct 2022 12:49:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbiJRQtA (ORCPT ); Tue, 18 Oct 2022 12:49:00 -0400 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92F4ABE2F2 for ; Tue, 18 Oct 2022 09:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1666111725; bh=0nkY6iUtCYAqr1+5gKwwRvENJAxhVYsXIvjIOOFBhVU=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=kwuhANf7FnY70QxDpT7pgRhOkl5H3a9Nu0yPkQ6Yr3rtl28JoYIUWil71vtFLQaXp KkjgRh6JpfcyW6Qrg/fNfTzBdJBBjeVFzi7tcpik2tv69vvyNHUkNHukwDCLbXDkTj 3LTpa9yRxPrL/ucsc/bvNPm4nP2MVOKYB2UHuvhM= Received: by b-3.in.mailobj.net [192.168.90.13] with ESMTP via [213.182.55.206] Tue, 18 Oct 2022 18:48:45 +0200 (CEST) X-EA-Auth: nf9Iwl0dHb4P2mE+fmoOko6/96gLJHnKjXcqx7+EGwcVhzbC6ksZe2aqvPZnykZdaIAwb69JYnx6n9ldyhTqKW861jmn/pb5 Date: Tue, 18 Oct 2022 22:18:40 +0530 From: Deepak R Varma To: outreachy@lists.linux.dev, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] staging: most: dim2: remove unnecessary function call and variable usage Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747045349432200022?= X-GMAIL-MSGID: =?utf-8?q?1747045349432200022?= Patch set simplifies service_done_flag function by eliminating call to dim_get_channel_state. Also corrects the misleading dim_ch_state_t variable name. Deepak R Varma (2): staging: most: dim2: read done_buffers count locally from HDM channel staging: most: dim2: correct misleading variable name drivers/staging/most/dim2/dim2.c | 5 ++--- drivers/staging/most/dim2/hal.c | 4 ++-- drivers/staging/most/dim2/hal.h | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) --- 2.30.2