Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5905622pxv; Thu, 29 Jul 2021 01:06:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz54HkOnnClr5up12nuGpAtTchPtbr6jpNh4dTgxpd+mTjxM14XK7GH1UyCaUBHvnRJODuk X-Received: by 2002:a50:ed89:: with SMTP id h9mr4549984edr.106.1627546007221; Thu, 29 Jul 2021 01:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627546007; cv=none; d=google.com; s=arc-20160816; b=u3sQ8523BIPHOEBf7W38BC8NZ9FjmQJd6GtfpVQu5zaEmGCnlSs1DF+//L5yTqhuHo EmxlcOfoci0qmC6bapN6FHzksHw6witQNdgmUipvaZZhyTQFETvrKzyHzr93IRxwk10E iqfLCbyXyxK/FYjXWcy+0JSiXcqJPAZ71ZlBqZc5NdW4uXErux8M+EjOC1g2b7mHcii+ QhEn3Knggi/KzTWNIvOtJQp2uqbzpibiUWx2LzjRivD0nHXDCOuO2L4+Oc/wmPKMTpnK btwuxOnChsIrFjA9gkcxcJ0eJHnEqzyvmGI5H8len55LSqJqK6tJnIuaVoWzW1a/kyQZ euXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=JV1z0OD4tQLCZG7P4obUoIjqr96U68okZaHL2Oei9a4=; b=O3fvxTl6WxNSksXdyQRBz100zfx2KPRu9piOXacRAVrH9x4aGSPzV4RMopf0cd81Ge 2WOjOy9ejDXpilr0UY9PqueQPqMgiJEvL9SEeDqeicqqhuKPTDJq+fr8t4RKtiZ5dNAe 9gp3QU+IRGnzP/NPUNTT9/3Hvdk2Nx8q0UPbjHMDlevnL5r4m36MKROLqlLwr6TXWonY ujddFu7iH/+g94hCPxgb0Nm+ftReER5sJo2jxmHHd+Put6cH5VTBSuTcHJsKz+u5POCG wNTH4+JdyhzJt+YnWrg6DNtHdTy3Y3mNdGWCke18HRPUrRGnlCuNvYs+1g7WICYmfcJT WKxQ== ARC-Authentication-Results: i=1; mx.google.com; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si2432912ejv.754.2021.07.29.01.06.23; Thu, 29 Jul 2021 01:06:47 -0700 (PDT) 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; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234956AbhG2IDX (ORCPT + 99 others); Thu, 29 Jul 2021 04:03:23 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:58822 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234686AbhG2ICy (ORCPT ); Thu, 29 Jul 2021 04:02:54 -0400 X-UUID: 1d30e5a2c3544b07bf44b3dda8486fcd-20210729 X-UUID: 1d30e5a2c3544b07bf44b3dda8486fcd-20210729 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 510656948; Thu, 29 Jul 2021 16:02:10 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 29 Jul 2021 16:02:08 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 29 Jul 2021 16:02:07 +0800 From: Hui Liu To: , , , CC: , , , , , , , , , , , , Subject: [PATCH v1 0/1] AUXADC: Mediatek auxadc driver Date: Thu, 29 Jul 2021 16:01:34 +0800 Message-ID: <20210729080135.17436-1-hui.liu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes one patch: 1.Add mutex_destroy when probe fail and remove device. Changes in patch v1: 1. In probe function, move mutex_destroy to "err_power_off". 2. In remove function, move mutex_destroy before "clk_disable_unprepare". Hui Liu (1): iio: mtk-auxadc: add mutex_destroy drivers/iio/adc/mt6577_auxadc.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.18.0