From patchwork Wed Oct 19 19:53:20 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: 375 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp508410wrs; Wed, 19 Oct 2022 12:56:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Hn6ncKPULyGjWhzM71Y7EfSvt3SME/6b0ntVAS6lC9LGtZCgRl5wl24PWa3dPAzf3jOrG X-Received: by 2002:a17:903:234f:b0:17f:6711:1f9f with SMTP id c15-20020a170903234f00b0017f67111f9fmr9825729plh.32.1666209387866; Wed, 19 Oct 2022 12:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666209387; cv=none; d=google.com; s=arc-20160816; b=aCku4DaluqayRtApoC/Mq4KT5GtD2FDd0y9cV918s9NgwwBfNpsPoTGLaPsQDMWZC0 rbhkX0ciyNjoaEHMlbg3bmGc9RlOhlWB5gfcNa3exJ9p98VOsGYwPmgr9OJGUKm242uI I9qHyNiV1IR23lzzCenZVCdlHSP+LQ3vczXzbJzFDDMUc3Z+n11TDY3+4qzDy4XQ5A62 EtoIOk2o0DYXhbFM+AHbOC+Bw05XPdk63lFyXQknev6heltYIQEPJgtgUmEPYa1kJGC1 Eaa1kWxSOCsCjKJyJTqPeiesTsiBj4rrAYhOllGuY/OjqgWc2vGFugIqGnBUpckTCB1N 9kqQ== 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:cc:to:from:date:dkim-signature; bh=8NGDx0UZiLV0sMbiVPliPBXuwTDm1Kwv9ZKPFvowUPQ=; b=RFWlaE2UC1HZVf3KbsOVoqPCusnuzlDvMmrW0p4tr0QFWEIzb5Jy7EC66CzRbymEQY 2BXej4LlDC5Noclj6BmUeX32A7z+Gh5mq/mo4ij/Ue0wTrh1S+A/WAxeD9ac/13EIRDj xei/vqDZHuDQ70960y0cnOZDW0bFLis9asEXghqhHzomr4UwMtPu15wzC1AVoACwhfN/ Xk2BVUo79WT+GdD7b6gsojLr4eUysiQquNcyUG6f3pPsvPHNBICs+vDOvWCIJOm0oNO7 N9xFuFbgiKoXp8Bz74XVI0SA8Hw7gTtstcLVweQ1oNObDxSPUfHLdGYy9z1cRhW8PHzs Li0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b="VVfRx/mp"; 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 my8-20020a17090b4c8800b0020afe8f05bcsi990945pjb.9.2022.10.19.12.56.15; Wed, 19 Oct 2022 12:56:27 -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="VVfRx/mp"; 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 S229967AbiJSTxi (ORCPT + 99 others); Wed, 19 Oct 2022 15:53:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiJSTxf (ORCPT ); Wed, 19 Oct 2022 15:53:35 -0400 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 751221D6A46 for ; Wed, 19 Oct 2022 12:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1666209205; bh=nNXwKU1Ppl1AKa70b/f+2U0MS7Cyq2/czmAaiBlx53o=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Type; b=VVfRx/mpKP1CVQhc7zc1zeGGXpPsrtRH20uXAQL0NNQKpy5/+KhtgMWIgs1KS24jn zbn7D3rKdRddQxVoGlX2oYvFg63sre+ed1FVeMz+g7AFbfgd9MFEpB7ujDlHiYAGes z8mnCWWT9RznfHWdlN9bQHvlguEUHS6+4nsm3MV8= Received: by b-3.in.mailobj.net [192.168.90.13] with ESMTP via [213.182.55.206] Wed, 19 Oct 2022 21:53:25 +0200 (CEST) X-EA-Auth: l8mDwtAV0BDO3bjb0LZpCiCJNtFyTDFWWrTwGQ3xJ0RWyYBlAO1M0Oltyqbdcf+h9dpnO5itJBkEnn536veef+u5CJ/GItUT Date: Thu, 20 Oct 2022 01:23:20 +0530 From: Deepak R Varma To: outreachy@lists.linux.dev, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: kumarpraveen@linux.microsoft.com, saurabh.truth@gmail.com Subject: [PATCH v4 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?1747147174942426771?= X-GMAIL-MSGID: =?utf-8?q?1747147174942426771?= Patch set simplifies service_done_flag function by eliminating call to dim_get_channel_state. Also corrects the misleading dim_ch_state_t variable type name. Changes in v4: 1. Patch set versioning missed earlier. Now added. [feedback from gregkh@linuxfoundation.org] 2. Patch 1/2 : None. 3. Patch 2/2 : Correct patch subject and log. [feedback from julia.lawall@inria.fr] Change in v3: 1. Patch set introduced since another patch from same area added. Deepak R Varma (2): staging: most: dim2: read done_buffers count locally from HDM channel staging: most: dim2: correct misleading struct type 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