Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp519609ybs; Sun, 24 May 2020 12:28:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywAyhrVhza73p7LaUIZw2XvzBt6EeL8DF6q+4oTNDiMR3hOj9hTkwUmQ8CCtHK0fpezQiY X-Received: by 2002:a50:9f66:: with SMTP id b93mr11655742edf.376.1590348486290; Sun, 24 May 2020 12:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590348486; cv=none; d=google.com; s=arc-20160816; b=Z28MKjyT1tmnY6kzRo9SffDbRf53FAEZjjJWitMVQWgLSl5ztoLJoggDdbaFGoB4Cp 81sIxZklRfcv7iClAluUZNzM9DUK8FFA1KLcMl0nw+UHh/Ees7dbwPVsKrqlaZO5quX9 wJspGL+2Ipb02Qc4ssZeXmAQz2Ac13zihreSVuD/6kULmzma0oHJ+oX+C+xcY2u7nXqT KIRF2meRVeAWevPNHwtNuYq0jzgDKNcyAcTiInkeOu+UkwiVHJ59TJENWa85yxNXlv1E n2lC+iT/JT5SBUT/pdPqCQN+lWK67e3ppbc+Pmxo4JwCvSUMBGhk9jFxFb3PMw3BOjvJ u5mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ythenNMgCasy/26fjGx9+1WbKj8OM9GaH/NHc6AXhOM=; b=yHcSiEyIs2vSaSA9IEACq2DefEJedWVnc7LCQ3U6pQkoAKDGYZFUmrnzBSd1HFTUnb lWw6n4N9wFcsdLp1P7DoTlUuD8I6yUS40mXauuCUskwhN8R2nlg1QGtf1X8b6fqCyxr5 XcEw8rCspGJMVLQ/tZMBC+Zov+PEauqt+mjiLAeVy0BrIo6XtEDnlPe4Hem0NFD0A9cu 428VOpl/WxOPS80HdXtU8AeRCBRQKTP8UjyG9d8EJOAitHSiLg52odkaRh+P3MONGgut RW1sJ5hXLIWPejTi1wELgF05tn2nA7FOpOGYpmXJZLJQz+4boAlh0foiEjHq9hqFHyus R2Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cuqs1pzV; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i15si7973355ejy.126.2020.05.24.12.27.43; Sun, 24 May 2020 12:28:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=cuqs1pzV; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388136AbgEXTZo (ORCPT + 99 others); Sun, 24 May 2020 15:25:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387755AbgEXTZl (ORCPT ); Sun, 24 May 2020 15:25:41 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95544C061A0E for ; Sun, 24 May 2020 12:25:40 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id 202so9379813lfe.5 for ; Sun, 24 May 2020 12:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ythenNMgCasy/26fjGx9+1WbKj8OM9GaH/NHc6AXhOM=; b=cuqs1pzV9wFff2GzAa77a4DoEBOaiwUw4k6/Z5KiNk0rPbw2WWyS87P6oE987eiUQY dvFFcbBp3yAMwXas2jEHznl6OFbqR/glhEu7tjtzqv+AihXa/K9aVZ9wKqE9C3qDu6Tf iOy2cw+Im3uOdJdsrheiW7bJGH8bgwHa5jzwSC0bZE649ZGdSLvLvllqMKYn5/wPUqEd aR6SLXLiJ6w5zAuwDbPp0nCu4VoWqHjhT9v67s22giW0KTfTuSNcTu7U0ExBx5TorhW/ Y9bZc50QE3GpJhp6lfvQ0y2K4HWFw3Q9QeeCWvvXR4EPplzkihdAw0xE5vLuBQleYb1m I7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ythenNMgCasy/26fjGx9+1WbKj8OM9GaH/NHc6AXhOM=; b=aUJFrPapEAl+E5J8UFe/TYaixNEoS2CclnZs/L6FesZLNgb8Lkve6ktGCtrGYlLxwi RNAAgJKT+UOSOFPEwoA7tsuDBjnuDZMMaCIh3iOyYGaiJYzFQLSPzNfhJPThs7lHJDgq UDJXVTqwFVX21bjNiSx3Fo5RQoDhxdzoscV9FWitI6ojzQDTccad25Nw+ifoLLj7uUXG QVqdXMxLWEyfCVZmfBy6Pnt1s/ksOLQlEEZonr3X8i41RCs9EBaZxL/dsYNYVtfxtgb1 zpOfJDvsMUWQBv/IvH/O9YghG1HqfN02+bJNTw9gyMzZjDghDGISOhvHRDpPfSI78Op7 qAuw== X-Gm-Message-State: AOAM532ueJZQ0zgaxzux1hHAvKYtxlxGiFXuPbR4juNInD3uRojvegkK UxnKgA86vTbXOTcIqyM9lDMPwA== X-Received: by 2002:ac2:5597:: with SMTP id v23mr12527697lfg.42.1590348339139; Sun, 24 May 2020 12:25:39 -0700 (PDT) Received: from localhost.localdomain (37-144-159-139.broadband.corbina.ru. [37.144.159.139]) by smtp.googlemail.com with ESMTPSA id v10sm3878137lja.23.2020.05.24.12.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2020 12:25:38 -0700 (PDT) From: Andrey Konovalov To: mchehab@kernel.org, sakari.ailus@iki.fi, manivannan.sadhasivam@linaro.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, c.barrett@framos.com, a.brela@framos.com, peter.griffin@linaro.org, Andrey Konovalov Subject: [PATCH v3 02/10] media: i2c: imx290: fix the order of the args in SET_RUNTIME_PM_OPS() Date: Sun, 24 May 2020 22:24:57 +0300 Message-Id: <20200524192505.20682-3-andrey.konovalov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200524192505.20682-1-andrey.konovalov@linaro.org> References: <20200524192505.20682-1-andrey.konovalov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This macro is defined as SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn), so imx290_power_off must be the 1st arg, and imx290_power_on the 2nd. Signed-off-by: Andrey Konovalov Reviewed-by: Manivannan Sadhasivam --- drivers/media/i2c/imx290.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx290.c b/drivers/media/i2c/imx290.c index 2d8c38ffe2f0..d0322f9a8856 100644 --- a/drivers/media/i2c/imx290.c +++ b/drivers/media/i2c/imx290.c @@ -648,7 +648,7 @@ static int imx290_power_off(struct device *dev) } static const struct dev_pm_ops imx290_pm_ops = { - SET_RUNTIME_PM_OPS(imx290_power_on, imx290_power_off, NULL) + SET_RUNTIME_PM_OPS(imx290_power_off, imx290_power_on, NULL) }; static const struct v4l2_subdev_video_ops imx290_video_ops = { -- 2.17.1