From patchwork Mon Mar 11 15:36:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 10847685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B47417DF for ; Mon, 11 Mar 2019 15:36:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23E0428DE8 for ; Mon, 11 Mar 2019 15:36:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1798929145; Mon, 11 Mar 2019 15:36:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B36828DE8 for ; Mon, 11 Mar 2019 15:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726625AbfCKPgS (ORCPT ); Mon, 11 Mar 2019 11:36:18 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:40198 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbfCKPgS (ORCPT ); Mon, 11 Mar 2019 11:36:18 -0400 Received: by mail-pf1-f194.google.com with SMTP id h1so3953320pfo.7 for ; Mon, 11 Mar 2019 08:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=38Ct61JAwOp1T0/dv5d7Rwd4z9DTD4VC603kU20nOsw=; b=mOGHYdonDEAc3NS6Smty/R1/TAHsdAljLaiHWZN4pAYN5lb5zYUYR8m8UNTEj9+5x2 sIb2tsgdeewDU1Q5u12jnb+0rJB2SUoqReQagZjbwmZ20eKpOCC8uLZh6LDzCSC8DCYe kEID7jgjXIo6XEwiDNoaYSWRQdrT0lfMPnJevxTvSL/ZUZfAwV+F1O3Rd2IHsN61T8ZT K5NP5HLUZmyoVy4pMQ8alfpGDbdOZwz+qAFCtJlcGZPSUTK9bGPP5I9YyXw+7ILv5yRm It0sriqeLlhqhxVVgrLPTnEG21lCy4iRNvD1OX+97soO8PXb1xVASBgpcyBjrMyUSuOd cpgQ== 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; bh=38Ct61JAwOp1T0/dv5d7Rwd4z9DTD4VC603kU20nOsw=; b=JVG5o3b/Q4TlH0+DHnnibCXxyt6ktXmYsJTQJMkgiR5kuqqAaJNhExFTwfQdoUOjyE w6LIqoNqH0DYzKgdxdPSTZAtE35/OfGksulAIk1f1He+izk06AAbLGTPTeKxHy7HLb3r mymwUo1bo2iwGJU1/qIjWQkFnW8eOCdoIcYBjFtfQ4DRnoz3nYhxlACNiHGpMRSRHdjC hcMHNxDaHuFqZkPmZqHStIQRQxonjgtOT1OX3ahOdfw/+2o/LT2+M6eXcOin/pLXf4fz HtErMoel0nEJ+mnRjgYPXiwvXBR2gUDOdCY1X+sez/+2EmTzjafkkA/2ib5Qq0KYOE2k 66nQ== X-Gm-Message-State: APjAAAVWo9r40K1iJ9TTzYKJiKbbPYxPLoLZFQwuoNOgCQlRakwIXZWu eOJA5sJdjm5ra/1irNSwv7P6nOzz X-Google-Smtp-Source: APXvYqxpTSB1uZakwbTAY3KNQN/qUF3G1gdsQawE9Hkgvov4IOBS6XeSjwGQFDv3iI3Pi4FP5Hg3NQ== X-Received: by 2002:a17:902:834b:: with SMTP id z11mr34852325pln.257.1552318577599; Mon, 11 Mar 2019 08:36:17 -0700 (PDT) Received: from localhost.localdomain ([240f:34:212d:1:1b24:991b:df50:ea3f]) by smtp.gmail.com with ESMTPSA id f28sm10428364pfh.178.2019.03.11.08.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Mar 2019 08:36:16 -0700 (PDT) From: Akinobu Mita To: linux-media@vger.kernel.org Cc: Akinobu Mita , Lubomir Rintel , Jonathan Corbet , Sakari Ailus , Mauro Carvalho Chehab Subject: [PATCH 0/2] media: ov7670: fix regressions caused by "hook s_power onto v4l2 core" Date: Tue, 12 Mar 2019 00:36:01 +0900 Message-Id: <1552318563-6685-1-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset fixes the problems introduced by recent change to ov7670. Akinobu Mita (2): media: ov7670: restore default settings after power-up media: ov7670: don't access registers when the device is powered off drivers/media/i2c/ov7670.c | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) Cc: Lubomir Rintel Cc: Jonathan Corbet Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Reviewed-by: Lubomir Rintel Tested-by: Lubomir Rintel