Message ID | 20240903084010.3746280-4-juerg.haefliger@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> 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 4WyfG44VMdz1yZ9 for <incoming@patchwork.ozlabs.org>; Tue, 3 Sep 2024 18:40:28 +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 <kernel-team-bounces@lists.ubuntu.com>) id 1slP5I-0001Ma-6B; Tue, 03 Sep 2024 08:40:20 +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 <juerg.haefliger@canonical.com>) id 1slP5F-0001KT-Ve for kernel-team@lists.ubuntu.com; Tue, 03 Sep 2024 08:40:17 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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 BF0BD3F283 for <kernel-team@lists.ubuntu.com>; Tue, 3 Sep 2024 08:40:17 +0000 (UTC) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5c2483adeeaso3725635a12.1 for <kernel-team@lists.ubuntu.com>; Tue, 03 Sep 2024 01:40:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725352817; x=1725957617; 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=+wyvtS9ckiMlObEE7eXYinloiD1HSZeE5Vxl85YyHi0=; b=fiOzUDaDQECbtjcvNUfbVn/QM+3DJjXun/ed5E6MwiABYJT2X816cvXzl5Krfikj5x I4gI4+eygUd6d/dmBFp0iluWduQ3G04fnFA9OWZejHCX3ZnvWQoOnWJTLycGriJ94o6h lxIvugzkr3ZakU3EyX9tS2LAydKhTJZeF+oJClgDao5coZq/nHT67beOUoBfxCoHBTfx xjBvN2EpX+j3C9Kk34i6haUU6ZquA9TPWBETO0t5P07rPOAwv8d9wIu3vwa6AXGOfpLA ihXRWYdVcnOtpAVviQ1h7bnnEUiyqaenpQwtwIa3Oed9OltodOoupcPiFOQQnNpcmVd2 KZHA== X-Gm-Message-State: AOJu0YymWgWfWG/pXpOZN9csWAMo5/9qM5Xz8IKCnDik8oF4j83JXZyh qDe/a7Uzjkr1m4iI/xp4oKwy1zmNQ2M32aaA1wpGK42pTPH42Wlyy1oj+z5SQlHFX1P0CugS3Uk C7zwU0HHaXGSXzGW6l71gxVsJdIRwJ2oHkZ67eqoFKzeIMomZ7zqvDA2laz3JPbGUC28PGjCKLp oQzn9pFgznyQ== X-Received: by 2002:a05:6402:2114:b0:5be:c2c8:8631 with SMTP id 4fb4d7f45d1cf-5c22f7dff84mr16053232a12.8.1725352817185; Tue, 03 Sep 2024 01:40:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVJL6pPGV89mJOTeVY09ln06tehKc0es6Dm53fLEmF9AKrnV8XvSj9NiFnfPsci53rENKQ0g== X-Received: by 2002:a05:6402:2114:b0:5be:c2c8:8631 with SMTP id 4fb4d7f45d1cf-5c22f7dff84mr16053175a12.8.1725352816285; Tue, 03 Sep 2024 01:40:16 -0700 (PDT) Received: from localhost ([81.221.247.52]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c226c7bdb1sm6185350a12.44.2024.09.03.01.40.15 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 01:40:15 -0700 (PDT) From: Juerg Haefliger <juerg.haefliger@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [O][PATCH 03/21] UBUNTU: SAUCE: media: qcom: camss: Remove use_count guard in stop_streaming Date: Tue, 3 Sep 2024 10:39:52 +0200 Message-ID: <20240903084010.3746280-4-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240903084010.3746280-1-juerg.haefliger@canonical.com> References: <20240903084010.3746280-1-juerg.haefliger@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 <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
x13s: Fix various minor issues and add Venus support
|
expand
|
diff --git a/drivers/media/platform/qcom/camss/camss-video.c b/drivers/media/platform/qcom/camss/camss-video.c index cd72feca618c..3b8fc31d957c 100644 --- a/drivers/media/platform/qcom/camss/camss-video.c +++ b/drivers/media/platform/qcom/camss/camss-video.c @@ -297,12 +297,6 @@ static void video_stop_streaming(struct vb2_queue *q) ret = v4l2_subdev_call(subdev, video, s_stream, 0); - if (entity->use_count > 1) { - /* Don't stop if other instances of the pipeline are still running */ - dev_dbg(video->camss->dev, "Video pipeline still used, don't stop streaming.\n"); - return; - } - if (ret) { dev_err(video->camss->dev, "Video pipeline stop failed: %d\n", ret); return;