Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2761EC433EF for ; Tue, 11 Jan 2022 16:38:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350070AbiAKQib (ORCPT ); Tue, 11 Jan 2022 11:38:31 -0500 Received: from esa.microchip.iphmx.com ([68.232.154.123]:32900 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350052AbiAKQiV (ORCPT ); Tue, 11 Jan 2022 11:38:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1641919101; x=1673455101; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=KwimgrXx+RKwS9lvpZ8cM3rSWXcTXgnH+Y8YrFkcKzs=; b=Y5nsOUhXJCyjQnYTnIvYlBcs3h3ptFJanVYpGNNzqMdAFIU6QparYuPF DOu8vfmXN10f1n7q9wQv7ud45Pt6nDFyDFnYNlPTdv0tPSvP7TrGN64zW sHekzi0C57QhLJX8OcQ3nO3vVrD7rf+UV9Apg9AyHzNgKGd3WZPE9akic HuILLMd/Po5qs16z92/UbLShua4q0oeaWpG5TI16iuDI7bUJydaOHybsh PYr4BFQIebY7zCyR7vQdcprMFMJgA0OZDKG6CK3OX70CERT/t1Mly4166 rEdOMcg5qY+ubOA6tD9Ew5p1xyX9w0LbNm3ZAl5ps67US0fk27IZ8JMLZ Q==; IronPort-SDR: RYHpD0fxFfeEDtFBRIFj4esv9ZY20gTIYmDG9gtLL2CnL3j2Pu0M00CbuyD3RFQGkmemTHr9ud EBvTxE1jX4sj26RJb1ffS1BwfqfDFrGs+PEE+2adCW1zTOphM32kMnhKWOs66ePy0PRvR1uqge QoBRFpBmEmdvy0MECpOrVusZxibW8x9LVHTa+ElpVNVKYpIa6qqbiyUcmf/zwD7jqV5qoYc6TY 3bfX5Tq/poEwPP4oGNT3sq8s1K5fQLzykjC+34rzftskAZHTai/MUzvmyr1bxmvp0uK5Gq1HwA r7v8EZ8mAZMbXjwFapKwY69B X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="82143527" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 Jan 2022 09:38:20 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 11 Jan 2022 09:38:20 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17 via Frontend Transport; Tue, 11 Jan 2022 09:38:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EYnFDKQ/XE1t9tByd4upi9pXeCBOg+nyRSmLPz4JuxL+6Yk4fqPo0bLiUH4iF1XTImmCSBSry0fIvZv3R6b15XBfUhvsDkSqfH+11Bpz1R4knXHlHDM9042AqV38LblMO8h01ozQtBg+ANSUvUXQ7qPYS0hmfBmXGJCCwepAu7EBaNsgcpGpWRatKhz0KZa2x+tBKTsWenHwz2ojxcB6CiHkr4sQ7LDf4K4Dro9BClv98gBLtae/maHhysH3iXU+jmbBwdmklAQOHv7ta9avlrvb1Q79USBzgm1b5vuv1BY5lHG0K8c/rna8RoMoLtE6cFPBXiLlo0gUe6ZiAtXrPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KwimgrXx+RKwS9lvpZ8cM3rSWXcTXgnH+Y8YrFkcKzs=; b=gFRiICw7FOGWfHIAPi4vTJlMqLra0xzDVXPZrH1udtdK5ongDRbprXEqZn7Lt6j7pZe+3nZGeabgcWlUlhNi4KOzl4RHV9k7of0eVuy3ixc84/A8GxRp7BwihXuLhGAoijGqbfj2as0bE7RVsrCs2RotgHDKnS45zUrFVGDEwPOk8igbYkDfAmENukyTubjY6PN7cURcn7KW2YADIHMN41B1huiyQj834PYop+O6J7R29keJ0fmJMKS4j1ARB3/RutzSSxToy2/Uw8NFyncs1LnVRjISdNFoWyf+4w0Amx58MretMeT3OeTnX4ACC2COieAXerP6pHehtI6gcyO4+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KwimgrXx+RKwS9lvpZ8cM3rSWXcTXgnH+Y8YrFkcKzs=; b=F0cu5AN5MvX2xz13V6qimfLCIDHFrwd7UIKsCyG7zlRYe73i8G8GbAq7c+KP2lxhhHaf3ZoOCvsUMG68ApqJW+tzOY44n5kmM8CVO9umUt25ViKfEhm8mdvzkQdYeEd+yL5ofmUN9jszS5bSxhNhxWXugWf6uc7ht+atoCnTW1U= Received: from PH0PR11MB4920.namprd11.prod.outlook.com (2603:10b6:510:41::22) by MWHPR11MB1485.namprd11.prod.outlook.com (2603:10b6:301:d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.11; Tue, 11 Jan 2022 16:38:17 +0000 Received: from PH0PR11MB4920.namprd11.prod.outlook.com ([fe80::d7c:834f:4591:3c0c]) by PH0PR11MB4920.namprd11.prod.outlook.com ([fe80::d7c:834f:4591:3c0c%8]) with mapi id 15.20.4888.009; Tue, 11 Jan 2022 16:38:17 +0000 From: To: , , CC: , , , , , Subject: Re: [PATCH v3 07/23] media: atmel: atmel-isc-base: use streaming status when queueing buffers Thread-Topic: [PATCH v3 07/23] media: atmel: atmel-isc-base: use streaming status when queueing buffers Thread-Index: AQHX8CiVdfXd9oS6LEuz0qJiSrlq1axeJnwAgAAMcQA= Date: Tue, 11 Jan 2022 16:38:16 +0000 Message-ID: <5e4f591b-9105-9de0-5067-2bd82dc04983@microchip.com> References: <20211213134940.324266-1-eugen.hristev@microchip.com> <20211213134940.324266-8-eugen.hristev@microchip.com> In-Reply-To: Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4dcec08e-96ce-401a-706c-08d9d520c506 x-ms-traffictypediagnostic: MWHPR11MB1485:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tynuaR/NIHvTmSA2RDlAb6lKgbuDLeFzs0lSoVNn6QneVvPUp3qXBF+HVS9AzyNFnPPDL0I2BVEj1f3okhshLBNkcxV0BW9pWLtELqQkQhpPGPw8rPbtaXHQcQauvx5bJUnwJqYxwiDfPY/1x2JAzgtAxto9/zO96GViUUkiRb9jWIWgByAyqd67VTgMJX9iWVUT3s6p27HUzZDFx7QDUFJzZc69EFgn99nZOu58Gg8pVJy8AkErZwumbee0jN9b3/CRjdQqMw+9s9rcbTXk7DPNAz5KMCNJoiEVzRnFH3ZLwLL/2DE4e5L/XSK5kc4r7iThkJ+tM3D2Jmd7EaRsChoujOFaf5SMSxXfwhLDOCvRlEgIAS4XPj7djSZsFJ5CqYxiRLKcfA+IH4luialuk1In1Acn+pEadG2dxeIUBar+WnAEuy9B5pi0rEfIahExDolxpgqbaDfnWTgjr3zoTggF4aX+OyEPORiMknfEbgg6ZlswBhYhqQiVgCMrCAXskNlMQUypm72tow4mz3U/74u5XVvGzrtdkv/S3zRji8FcEO9id6ya9P/Jd3lbnQuocGMIZHzEZFVayIm0MjJgkXnL+iBjppfEFxCiC7Xw+lZPkuAyxJY+g02AI4rf5zNII4z3bX3SIzhci3MF441sraUCjw+YadiAB8el2UQpXN68vm2tvNiO39vdgaoSNwwgf/uSQlDrEjr/38ujrxzoqUFU75Mi9zds2gKEc0hG08Y//gVZQEZx0fS6rxhUDaPlwz38I4JeKcTbJCzC3HqJ2Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB4920.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(38100700002)(54906003)(66946007)(8676002)(508600001)(71200400001)(66556008)(38070700005)(2616005)(6486002)(53546011)(26005)(36756003)(186003)(91956017)(4326008)(76116006)(64756008)(5660300002)(6506007)(66446008)(31696002)(316002)(31686004)(6512007)(122000001)(83380400001)(86362001)(8936002)(2906002)(107886003)(110136005)(66476007)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dGtwM0gzZlFxWTQ5VzFnZFViQUp0dmphdWxPOW96KzVYOVE4czVDcDl5SFNm?= =?utf-8?B?UG4zcmh1cWwySDg4WGcwTWtHMlIxUDFYdzVIOUR5UlJyMVR0a0Fz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3Uk5zZ3ZKTDNhMzV5clg0VVVtTW1iKy9jWkxXTmJjYjd0NUNr?= =?utf-8?B?ZE52WEx2Rmw3ZEcrNncwVzE2Y0IrenF3c1JpNzZJa09CeHRrNk1mbXhxdjlD?= =?utf-8?B?YjV6Y1JNUDE3K21mUHdod2RKcUkwazBBUHZuOXluRnVTQ0szcEUwRkN5ZTgv?= =?utf-8?B?dW5HZ0J2bmNxc0s4ZVB4Vi9ZMzZTWXBRQXA5SXZlNnp1MHNqRlJTb3lCNkhm?= =?utf-8?B?Z3RRNmVTU2krbU9LRE5HSEpLQkdVYWFMSmNYTTZUWkU1cDdTM2pVa081Q0J1?= =?utf-8?B?SXFSUUhXSXh2U1l6SEY3RTRSemVEemNqQmtvbmxYSDFxdTJWQ3RrMFVLcmxq?= =?utf-8?B?ZmZTTlkxU2VCbXZyOGg3TlErZ2h3PT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4920.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4dcec08e-96ce-401a-706c-08d9d520c506 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2022 16:38:16.9433 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Xb3uQgZqgX9pT3QodBtPMlpPJDHP325B9YmrlX7jfP6uPWQ1F0ave7xCRG2GAkv+q0PiJl8ouHW8VibdfAendCqhVVMZlL5fovpKW+x2LeA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1485 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMS8xMS8yMiA1OjUzIFBNLCBIYW5zIFZlcm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