Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2506172pxb; Sun, 23 Jan 2022 06:54:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdrsJ7RyzkrcTnk5NxBSROP9FB7K16pEAFk8lx6lhiasboi3/r7dlMDZvKTuqx1QJ/Bo28 X-Received: by 2002:a05:6a00:23c1:b0:4c4:12d0:2c62 with SMTP id g1-20020a056a0023c100b004c412d02c62mr10884155pfc.27.1642949666830; Sun, 23 Jan 2022 06:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642949666; cv=none; d=google.com; s=arc-20160816; b=YBhtSmkKt6Wndk43BWIep73kR2pHooG7Jpqv9dHBKGI65DbBojZkcLXG4l2yBnGYsc P7nG/fU/GKxGGRLUWAURw5bsRsFijHUgHuN0S559T4ZA80Oimy08ZTJIiVAsFGvztvwJ IoznXmELVu/N+o5gJmG0/zdK9dnJvkjO3g5Ubu4DewLTqFSwFtzRIWYfIpuuXoQ4xCdS aNp02ViOH5RGV8pVMiybSDvJNTNcCHZyO+jBhdXfSrL2LTJXnxTifbYVQeCjl8F/FQ3T NVAAwBtpejmAXqgptIgUAg74/muEYFUYWyWO2lOP/FNstkAwRVLOaRsB+uwmhO0WL/uj ylkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=r1d8RWxw6tpTbrWP/CeqQaBYJOZ99KMk35KY7PwJpIY=; b=KbDK0bGbsLvl2wpZpjGBOAAmFnRGmcRpZ/8N7dXnCSN7l5p4us6NK0OO7ppJPQkh8t RR/e9oofo7AQKH0B87dWNfwjyG3SntAya4DSKkAt5eXzP/i+ZKOpOWRfJh2qXjehrklT 4yF+y9QdR+mpf9izC5pAvV2B3Da31rtDkwLUf4Mx4IIKBjud2vE950IBHO18mPurkOji q5xf2Yfd/flWpXHebMbZua6rQ4UUp0Ew8tFVRD7KR0S4K00v1/2s5bcxrlPpcJs35/gF HJGT1/ZQSngT4s64XCu0MxfO+FU2L1ikGsnHxdMuDBh9zOEvDOumjxFvmbmd1/1o3Jk6 69fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@pku.edu.cn header.s=dkim header.b=PEXmcAwE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pku.edu.cn Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j125si12876072pfd.42.2022.01.23.06.54.15; Sun, 23 Jan 2022 06:54:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@pku.edu.cn header.s=dkim header.b=PEXmcAwE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pku.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233917AbiAVIs5 (ORCPT + 99 others); Sat, 22 Jan 2022 03:48:57 -0500 Received: from tkylinode-sdnproxy-1.icoremail.net ([139.162.70.28]:44470 "HELO tkylinode-sdnproxy-1.icoremail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S229935AbiAVIs4 (ORCPT ); Sat, 22 Jan 2022 03:48:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pku.edu.cn; s=dkim; h=Received:Date:From:To:Cc:Subject: In-Reply-To:References:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID; bh=cUi7kGdbvfGPc8ZcvTG0IA+aJjRDTmLl//7L dxOF41o=; b=PEXmcAwE4YPosOKbdNHBbUVjC8U86J8ldK8+f9ulU3Wk9ib5cfBm cd0DhuORZgQKMZajeWMSdZqE1kieI3sPE7QbdukykdXjNZExNUeOsiJ3IAnqPzVr ofIelwFwGj4m5funp4K85OMVgMYmRBCzaX7pn/lGmL0z/DmcigqQVFs= Received: by ajax-webmail-front01 (Coremail) ; Sat, 22 Jan 2022 16:47:39 +0800 (GMT+08:00) X-Originating-IP: [10.129.37.75] Date: Sat, 22 Jan 2022 16:47:39 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?5YiY5rC45b+X?= To: =?UTF-8?Q?p=C3=A9ter_ujfalusi?= Cc: vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: ti: Fix runtime PM imbalance on error X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2022 www.mailtech.cn mispb-1ea67e80-64e4-49d5-bd9f-3beeae24b9f2-pku.edu.cn In-Reply-To: <6169df3d-3d04-644c-fc70-a184ecfa97c8@gmail.com> References: <1642332702-126304-1-git-send-email-lyz_cs@pku.edu.cn> <6169df3d-3d04-644c-fc70-a184ecfa97c8@gmail.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <37b99b59.2d9e6.17e80f83cbc.Coremail.lyz_cs@pku.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: 5oFpogBXOrirxOthpA2bAA--.24001W X-CM-SenderInfo: irzqijirqukmo6sn3hxhgxhubq/1tbiAwEOBlPy7uCwlwABsD X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Precedence: bulk List-ID: X-Mailing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