Message ID | 20240830063459.3088895-1-vladimir.zapolskiy@linaro.org |
---|---|
Headers | show
Return-Path: <devicetree+bounces-98239-incoming-dt=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=UQn1fci/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-98239-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Ww7gM6zCPz1yZ9 for <incoming-dt@patchwork.ozlabs.org>; Fri, 30 Aug 2024 16:35:11 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 66871285635 for <incoming-dt@patchwork.ozlabs.org>; Fri, 30 Aug 2024 06:35:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C743A14E2D7; Fri, 30 Aug 2024 06:35:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UQn1fci/" X-Original-To: devicetree@vger.kernel.org Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBA4514D420 for <devicetree@vger.kernel.org>; Fri, 30 Aug 2024 06:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724999706; cv=none; b=n3j9efraRfaWnNruY/QWIXouKz9ZVYhwrsVpKgEXKWbUcPf059wjkCg2d2Qfw74Qe2W6tsx2prUmmg40FqDwphR6PrngSCT4Ch04iR+T/dXyZ9oFxW6gd48CmLfiu23JYM802nV4c5ZwMmUXXTu1J7YCpjCw6GFMfMiX2cMdNKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724999706; c=relaxed/simple; bh=SS9fXxH3VoyBjmFZPFaxsc0VsNSPJvIu5TKSPiboAjg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TlCZ6AcCUDeRGQFJBClsvpGuS0Uz3RBMdN4GmZn+aexwY3XJgrwD6CetxGA+nMzyilTa3SXFqgIfOiiFoMxfRtyU+iVKC+JqOL1gyne8ODMt39q70jy6fnMXf6un3O2Ko5bVoKiSVz5P7xRNC2KP7X1sUteICH0M/k6FAwHOF3U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=UQn1fci/; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2f3fcdfa099so1129901fa.2 for <devicetree@vger.kernel.org>; Thu, 29 Aug 2024 23:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724999703; x=1725604503; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OuzaFf05L8J4fgAxusny/qESzZ92lsZab8WC1NT5JfU=; b=UQn1fci/wmKfWZkkPRYS3K0ZeLtL93yQT+cXyx5RyyUy5Y3uAZkufGkaR5KbquTfxX fUHV0jIBq5B+oFNo/KrBnp6x2NCsFYp0VwBrvFtKGlnuDTuZmt5IEzMNKfOTwzpnfqdL Yl1crFxgME16ZcsQiOE0SzNGe+mgQjeB0gyPq5WbwvQOUBt3yts4Dh4Kw5cco6KCv8vw 1grmv/KuBmJ5YXC7kCdt6eummyH0Cebk6rIy/KgkWzEPMbj/GXS4n+WX5iDLeWR6kIUS KXDBEp53iuppR6FwA6J7OelGzTrhpjuu7urdqsFfX1Yr9GwAW80wUIGDQL+T49u4ZZ3M TL+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724999703; x=1725604503; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OuzaFf05L8J4fgAxusny/qESzZ92lsZab8WC1NT5JfU=; b=RVLh/uJ/lB6GF7TMqPM86DHTZlnJqU38a3e7ejMlR3sf1XC2P6VHnba0G8+ke30fsK uVgcNG4HY1do5ldGxH2+Yi9KFqKKTlz3CFHTRobF66mGmTOyHeJ1aKoB+asPkNxYS8BP fMlIlOGdVVElKeE/GIeDJJvclgfzyMYJ+gi6c4f8o2nuRJcd4nzyvD48yzgsUC/I88Sy 4TVLRiRavt2FSK8YZVp3MiEkh16hXDTITHdrEXcDegk8qynYBM+6R8uvNw9b33O5WozI mYmdw3iCo1s4tjdpOGqqc66Kzj590MmqJ6EQmChDpD6NLHpPDXIrcJH0BVTCW81INK/s 9FJg== X-Forwarded-Encrypted: i=1; AJvYcCVwG4isyP6MqMMzSFgZY+p5eGX/h0ZyHYBeacTE7XsnZMTGFlFflj84XuNXCeenm29g6qAWWQkAOJVi@vger.kernel.org X-Gm-Message-State: AOJu0Yw4fEANQaCRuUQHejQr0XoCmP87gJCSBadb6T7UGe6lBEWWaGia cZ+aDOxID9C02pw0UQTkJRCRyEAoEuocrfU0pHXjQTFxdAIFDSIiDxGyPdP7nNX8uAZeG+CMA8U t X-Google-Smtp-Source: AGHT+IECBAzYuRQVXIyCTTslKd+vLutFaNZSxSBOn57mqzHVwdBqdN8y/7a2eGosLZiJmio+ZCbp4w== X-Received: by 2002:a05:651c:198c:b0:2f3:e2f0:5140 with SMTP id 38308e7fff4ca-2f61e0266e7mr3980151fa.2.1724999702650; Thu, 29 Aug 2024 23:35:02 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f614f00860sm4879441fa.45.2024.08.29.23.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 23:35:02 -0700 (PDT) From: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> To: Sakari Ailus <sakari.ailus@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, linux-media@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 0/6] media: i2c: og01a1b: Add OF support to OmniVision OG01A1B Date: Fri, 30 Aug 2024 09:34:53 +0300 Message-ID: <20240830063459.3088895-1-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: <devicetree.vger.kernel.org> List-Subscribe: <mailto:devicetree+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:devicetree+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
media: i2c: og01a1b: Add OF support to OmniVision OG01A1B
|
expand
|
Hi Vladimir, On Fri, Aug 30, 2024 at 09:34:57AM +0300, Vladimir Zapolskiy wrote: > @@ -970,13 +978,32 @@ static int og01a1b_check_hwcfg(struct device *dev) > /* Power/clock management functions */ > static int og01a1b_power_on(struct device *dev) > { > - /* Device is already turned on by i2c-core with ACPI domain PM. */ > + unsigned long delay = DIV_ROUND_UP(8192 * USEC_PER_SEC, OG01A1B_MCLK); This is a problem, the first argument overflows. I'll just add UL specifier to the value to fix it if that's ok.