From patchwork Mon Aug 5 15:23:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Portia Stephens X-Patchwork-Id: 1969090 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wd0b36jBzz1yYD for ; Tue, 6 Aug 2024 01:23:59 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sazYr-0007ad-Bo; Mon, 05 Aug 2024 15:23:49 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sazYn-0007aM-W3 for kernel-team@lists.ubuntu.com; Mon, 05 Aug 2024 15:23:46 +0000 Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id BCD6A400B2 for ; Mon, 5 Aug 2024 15:23:45 +0000 (UTC) Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-70932abea64so8011895a34.1 for ; Mon, 05 Aug 2024 08:23:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722871424; x=1723476224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CXiZhb4HfduT9OOQh4lmGlam+9Z3NnGrJ4qgMdnIWfk=; b=Wj+4vGY5IK0NTtn9JISJDsi2ABsQoJ/aiQcSCNz6Ci3Cdcs3uW/pCNuGQLQ1sS73jV +uTaKkcjJBTCE6ro/gHfYeyLAoqiRGUbiayE1TXs7aI0E1c91ZZyf0zPWFQVXjZS3lyy wikyjRYuufBcYAeeLSlnXEeBWBDdhHhat5hqRq8ZEp++auJhw84fsyGtkdx8JK4xlXU6 O0VaxgvJ82wCjIMkwRh8hTrjsIaakQz3S7TKlvbtkEXEYxQfsgwD3ldJqCYBCrBwLf6Z P6DQWdIYj/wZ7f+uCwiAuBwOLKUN9y7etLV3yZaaXplPGvIXEwfoTXHIdOnTpWPlgSJN duzw== X-Gm-Message-State: AOJu0YwO+PsmtpgxalyLPL6fkF1D7geI8gbEMJTsXSOIl6F98R+022DT x9+GwkPQ4rw0izrXgCbXD1VkgFcQ1DrGrlNj61mHu+9//HZnxD2r6oUk29mSK2LEISGyF6aCvss sWVvBJC95AmS50uWc2ZhOrjo6Gwf/XGD7e7eb6qpfVKMUQKQ11Mww3MCYATF5nINfxD2Kr+lZTF kqip6fgKazLg== X-Received: by 2002:a05:6830:488c:b0:709:488f:b632 with SMTP id 46e09a7af769-709b997504emr15945761a34.25.1722871423851; Mon, 05 Aug 2024 08:23:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjDr7vcalGA6dfLuz13+YD07PTLNpbt2oVLoe4fhCUB9jMr6EM1byIr6KFkw7haTJiiX2akQ== X-Received: by 2002:a05:6830:488c:b0:709:488f:b632 with SMTP id 46e09a7af769-709b997504emr15945732a34.25.1722871423422; Mon, 05 Aug 2024 08:23:43 -0700 (PDT) Received: from portia-ThinkPad-T490.myfiosgateway.com (pool-71-255-245-55.washdc.fios.verizon.net. [71.255.245.55]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a34f773253sm357462085a.89.2024.08.05.08.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 08:23:42 -0700 (PDT) From: Portia Stephens To: kernel-team@lists.ubuntu.com Subject: [SRU] [jammy:linux-xilinx-zynqmp 1/1] UBUNTU: SAUCE: xilinx-mv-camera-sensor-module: Update imx547 driver Date: Mon, 5 Aug 2024 11:23:41 -0400 Message-Id: <20240805152341.105004-2-portia.stephens@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240805152341.105004-1-portia.stephens@canonical.com> References: <20240805152341.105004-1-portia.stephens@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2076108 Updated the out-of-tree xilinx-mv-camera-sensor-module driver. (cherry-picked from git@github.com:Xilinx/mv-camera-sensor-module.git v0.3) Signed-off-by: Portia Stephens --- ubuntu/staging/xilinx-mv-camera-sensor-module/imx547.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/staging/xilinx-mv-camera-sensor-module/imx547.c b/ubuntu/staging/xilinx-mv-camera-sensor-module/imx547.c index fc4f4a44b5cd..094dfc6d7e86 100644 --- a/ubuntu/staging/xilinx-mv-camera-sensor-module/imx547.c +++ b/ubuntu/staging/xilinx-mv-camera-sensor-module/imx547.c @@ -1037,7 +1037,7 @@ static int imx547_probe(struct i2c_client *client) } /* initialize gt trx reset gpio */ - imx547->gt_trx_reset_gpio = gpiod_get_index_optional(&client->dev, "reset", + imx547->gt_trx_reset_gpio = devm_gpiod_get_index_optional(&client->dev, "reset", 0, GPIOD_OUT_HIGH); if (IS_ERR(imx547->gt_trx_reset_gpio)) { if (PTR_ERR(imx547->gt_trx_reset_gpio) != -EPROBE_DEFER) @@ -1047,7 +1047,7 @@ static int imx547_probe(struct i2c_client *client) } /* initialize pipe reset gpio */ - imx547->pipe_reset_gpio = gpiod_get_index_optional(&client->dev, "reset", + imx547->pipe_reset_gpio = devm_gpiod_get_index_optional(&client->dev, "reset", 1, GPIOD_OUT_HIGH); if (IS_ERR(imx547->pipe_reset_gpio)) { if (PTR_ERR(imx547->pipe_reset_gpio) != -EPROBE_DEFER)