Message ID | 20241220144130.66765-9-hdegoede@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CC5E218854 for <linux-media@vger.kernel.org>; Fri, 20 Dec 2024 14:42:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734705724; cv=none; b=oUmConQsbF0l3CXg+TUxNS+jtXWLJTK8ChY+DZKSEEpUUbLkQ9bklm3ndXHHTEs4Ht0H1uVN2V/3CXr/6yyfUXjb75CkqobHqa9iWq/jahjN7qsneCiZxHQ2x6g3Ja5vmLO4eZshaBhKMzBjEeOKwS1sNSW7JquJrRqdWRQOUEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734705724; c=relaxed/simple; bh=PsKyTVJjkG/iLlFyCSjpz5cT6a0fRFZ5mSkox6Ruyys=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gD6Q21izTgMyWXe8ZdACNonFsUVM4FyYe5Iz/AYGDDs7ruR0O8z6Tc2/YlPYpuaEJeh6HDsX1558by/Q+O2heixwNaldrJYJTBDM3lvRC2vSZRer87bxCGxYgHMtmDfBktTTTPWdqmfQkqDhld6Y7XpkVX3GXnFIppIxLkEEb90= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=U7VImTnF; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="U7VImTnF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734705722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R8AXQTjOBfK+m/KHkrOP8iibiMCa8uKVFNzT2Grk2f8=; b=U7VImTnFqFFG6I9CXUhOHHx7K7SQ18ao1dLYsco5+qZD9QmbOVwdDlvEQQExeHka7h31hR btNXKJUbN4Ugq69B9ofwN9BhgsZtiZ4DMMJVqWEj8qVEVYbXWqYFT8BUlBx+rKDxhAgl+M 4joOBVUXhmSaTcCq2A0S5PHTEw4EdOY= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-503-k9xlBSJbPBy6YX8SNjlFAw-1; Fri, 20 Dec 2024 09:41:59 -0500 X-MC-Unique: k9xlBSJbPBy6YX8SNjlFAw-1 X-Mimecast-MFC-AGG-ID: k9xlBSJbPBy6YX8SNjlFAw Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D51C6195604F; Fri, 20 Dec 2024 14:41:58 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.193.74]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 16E7019560AD; Fri, 20 Dec 2024 14:41:56 +0000 (UTC) From: Hans de Goede <hdegoede@redhat.com> To: Sakari Ailus <sakari.ailus@linux.intel.com>, Jason Chen <jason.z.chen@intel.com>, Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Hans de Goede <hdegoede@redhat.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, linux-media@vger.kernel.org Subject: [PATCH v2 08/10] media: ov08x40: Add missing ov08x40_identify_module() call on stream-start Date: Fri, 20 Dec 2024 15:41:28 +0100 Message-ID: <20241220144130.66765-9-hdegoede@redhat.com> In-Reply-To: <20241220144130.66765-1-hdegoede@redhat.com> References: <20241220144130.66765-1-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 |
Series |
media: ov08x40: Various improvements
|
expand
|
diff --git a/drivers/media/i2c/ov08x40.c b/drivers/media/i2c/ov08x40.c index 39430528f54f..7d00740222c1 100644 --- a/drivers/media/i2c/ov08x40.c +++ b/drivers/media/i2c/ov08x40.c @@ -1973,6 +1973,10 @@ static int ov08x40_set_stream(struct v4l2_subdev *sd, int enable) if (ret < 0) goto err_unlock; + ret = ov08x40_identify_module(ov08x); + if (ret) + goto err_rpm_put; + /* * Apply default & customized values * and then start streaming.