Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp865573ybb; Fri, 20 Mar 2020 09:19:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vswfxGhGfEQfPxDbl/S24tnB4Y/Izq4Qnx3tKuO+E40IZd15eka6ky9ZPWMYQr4/P+HAwMR X-Received: by 2002:a05:6808:103:: with SMTP id b3mr7360667oie.46.1584721170495; Fri, 20 Mar 2020 09:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584721170; cv=none; d=google.com; s=arc-20160816; b=liVX5XGnBmdLSqPCTtjETlZkv53BvRIl0FA6vN3mKUo/J7hYuhXE5KPh+CbSoS8uko YdCd3o5+WohlTmAfIuSR5eWOuHT9Yei7SQRBvqBwLy5+lBi1qABA79gVfawiBc/bSdUt l2+P5mOaTaPHbaiSM8yeEIy+NgDcJoAoTu44izJBNb+uSc3hm0UHXdTwDDxKdg0Z8F80 TkqZ/bWTN0j9su0dN9TGVtQUROZ4tAlHRjOrgar6r/ifqq9kvluunz2e9SWZoHrz2kdP XeEv2Bzd3SutNDP3sOdUnziYgB+Cc91RIO9OLlK/Q4hX6S2SR/vrZr9yyDQfLmsinWI2 ld/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=YSLFTk8uooZ+FLsBTeC0XoAajyUqBDZ4RcS80UPZ4nw=; b=PJA+XX+/sKey9JWgfk1sEftx1TpKpyEcUSNRp01+Hu8QXQ9MZADbnt5VXxEXfjQvRU 4pYCoHSWKthquJ/sVZl4ciwPFlyZ3y0xHOJjFiAzpkjLR64XWj/K9vQ7IYYnj+HLRq6W Y6DbGhz/PsX6qGDr+gXJBkV7Jp4i1MNdxmD7ViTChZHNc7WJ2aoqdw03h0FjDmth/87Y IrJ95ALonV/XkBhne5KWv+l0HvO0Jc6nwHE0/OvicC+eDF8KVuobPjIVUScZmjfOLF8d hzEpUR1rOwgr70bh9HXEvqRhIGA33nTK6HVQkEFmdVRGkiAK7mdOGAsA+kpIBUumJc05 yU+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q23si3348402otg.271.2020.03.20.09.19.11; Fri, 20 Mar 2020 09:19:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727560AbgCTQRJ (ORCPT + 99 others); Fri, 20 Mar 2020 12:17:09 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:35825 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbgCTQRJ (ORCPT ); Fri, 20 Mar 2020 12:17:09 -0400 Received: from mail.cetitecgmbh.com ([87.190.42.90]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1McYTD-1jpkY21Fcb-00d1MX for ; Fri, 20 Mar 2020 17:17:07 +0100 Received: from pflvmailgateway.corp.cetitec.com (unknown [127.0.0.1]) by mail.cetitecgmbh.com (Postfix) with ESMTP id 1E42664F8FB for ; Fri, 20 Mar 2020 16:17:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at cetitec.com Received: from mail.cetitecgmbh.com ([127.0.0.1]) by pflvmailgateway.corp.cetitec.com (pflvmailgateway.corp.cetitec.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YSGKXL9yPROx for ; Fri, 20 Mar 2020 17:17:06 +0100 (CET) Received: from pfwsexchange.corp.cetitec.com (unknown [10.10.1.99]) by mail.cetitecgmbh.com (Postfix) with ESMTPS id AC46264D448 for ; Fri, 20 Mar 2020 17:17:06 +0100 (CET) Received: from pflmari.corp.cetitec.com (10.8.5.41) by PFWSEXCHANGE.corp.cetitec.com (10.10.1.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 20 Mar 2020 17:17:06 +0100 Received: by pflmari.corp.cetitec.com (Postfix, from userid 1000) id 0F67C804FD; Fri, 20 Mar 2020 17:11:42 +0100 (CET) Date: Fri, 20 Mar 2020 17:11:42 +0100 From: Alex Riesen To: Kieran Bingham CC: Geert Uytterhoeven , Mauro Carvalho Chehab , Hans Verkuil , "Laurent Pinchart" , Rob Herring , Mark Rutland , Kuninori Morimoto , , , , , Subject: [PATCH v3 01/11] media: adv748x: fix end-of-line terminators in diagnostic statements Message-ID: Mail-Followup-To: Alex Riesen , Kieran Bingham , Geert Uytterhoeven , Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , Rob Herring , Mark Rutland , Kuninori Morimoto , devel@driverdev.osuosl.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.8.5.41] X-ClientProxiedBy: PFWSEXCHANGE.corp.cetitec.com (10.10.1.99) To PFWSEXCHANGE.corp.cetitec.com (10.10.1.99) X-EsetResult: clean, is OK X-EsetId: 37303A290D7F536A6D7662 X-Provags-ID: V03:K1:t+H4THRjyOiM8VLg9a6h0zf5jZHbN9nVNWgnGOsq0IUOjiraReM 0NolitnFEcpba7F+6N+8QaMTGnuTzNX9WEv+SbwkOR7A4metvJPwjIEOQJSXnvIFqk3UQ2V gH6soO5zvU96xy5oriRw+OX69C+MHDd8gAkWSn/bmnPWwLEcEZmE/ugPc4w7pe5std0biHK rJ9DsNiHdoe1pYZI0SCbg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:x2/tOROxkCw=:DfwnbEbaSq57js8yMx1h5f L6FSkM5D1Vp9vqMkzZpGAjrUxrfruAZNu95loQMa8hkaRsvu9FO/V/DjeHNAa46TRm3WU6uAk W+sOgdiwjaS5v0azuKLEukVO3YUgp5bXQ6Cv8IrG+dfXtt68ADDk2sanb81fB0Zsxb+uwRqNH b+tehLt8tgoP3VrAHkdGLy9pIZObkF5XUl9TXnMDchaUU/UfTPhA9B9A6etya1GpytBoYvlrA g0JLKvcXQC1E+ToisH9l1Lxo+19X6Dxf3Uhdv8B65NzNDKR5EbhBlQsEgK63MdFVVRoX9LCYF qTWTKoTpTo3GSHMT91NcjX6vcSiAfer8oGRwlJbufDwk5ldw0m6janBLE1CE727pfsoUDdTep Q+QhBNJ2+SWNGCw6GuHpQOTFSjY1BT8h7PB9+pXnKmUg16DIc78VjPV+rGdIPr3EY8+Kfgc5e xSnqVbtdzpY0DTO2lATB6K11F2psoQS8LC0iU7Tk3q0QV4SurBaq8D1eKyrD3XOfms+0MXMq+ z4FHiSwkAbQUbU7TjYF+ckZf49xNYKJK2NrZq+u32UK8usALRBtGf7f3stuRCDkfrjCLIhSpG Gr4KuqYjd3tDTrOvNFo7XHouuteUBDiALlm8GzlNLFKuqiw0TkaPLHlcFkgLK0WnBxRhDmkjG uU3YRoXivxiV/V7ZSC/8qorJ07bpYCQtDcdmEJKUET1CSuA3Ps0IgoV620hGFLkioylL3XuPG 7Dw6ZUs1tV4JhLY43QvQmlS/eBXE8HWsF6yRU3SY8ASiD0lHJskMf+IqyzSgB6mO/L1CRvzla VSTwHC1Xg90r2kbiObJ9sZiE1uMYHbsXcCIn6kZ+6cJvCyL9goxSCfZMO84gad5q8YLGXXU Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alexander Riesen Reviewed-by: Laurent Pinchart --- drivers/media/i2c/adv748x/adv748x-core.c | 24 ++++++++++++------------ drivers/media/i2c/adv748x/adv748x-csi2.c | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/media/i2c/adv748x/adv748x-core.c b/drivers/media/i2c/adv748x/adv748x-core.c index 23e02ff27b17..c3fb113cef62 100644 --- a/drivers/media/i2c/adv748x/adv748x-core.c +++ b/drivers/media/i2c/adv748x/adv748x-core.c @@ -623,11 +623,11 @@ static int adv748x_parse_dt(struct adv748x_state *state) for_each_endpoint_of_node(state->dev->of_node, ep_np) { of_graph_parse_endpoint(ep_np, &ep); - adv_info(state, "Endpoint %pOF on port %d", ep.local_node, + adv_info(state, "Endpoint %pOF on port %d\n", ep.local_node, ep.port); if (ep.port >= ADV748X_PORT_MAX) { - adv_err(state, "Invalid endpoint %pOF on port %d", + adv_err(state, "Invalid endpoint %pOF on port %d\n", ep.local_node, ep.port); continue; @@ -635,7 +635,7 @@ static int adv748x_parse_dt(struct adv748x_state *state) if (state->endpoints[ep.port]) { adv_err(state, - "Multiple port endpoints are not supported"); + "Multiple port endpoints are not supported\n"); continue; } @@ -702,62 +702,62 @@ static int adv748x_probe(struct i2c_client *client) /* Discover and process ports declared by the Device tree endpoints */ ret = adv748x_parse_dt(state); if (ret) { - adv_err(state, "Failed to parse device tree"); + adv_err(state, "Failed to parse device tree\n"); goto err_free_mutex; } /* Configure IO Regmap region */ ret = adv748x_configure_regmap(state, ADV748X_PAGE_IO); if (ret) { - adv_err(state, "Error configuring IO regmap region"); + adv_err(state, "Error configuring IO regmap region\n"); goto err_cleanup_dt; } ret = adv748x_identify_chip(state); if (ret) { - adv_err(state, "Failed to identify chip"); + adv_err(state, "Failed to identify chip\n"); goto err_cleanup_dt; } /* Configure remaining pages as I2C clients with regmap access */ ret = adv748x_initialise_clients(state); if (ret) { - adv_err(state, "Failed to setup client regmap pages"); + adv_err(state, "Failed to setup client regmap pages\n"); goto err_cleanup_clients; } /* SW reset ADV748X to its default values */ ret = adv748x_reset(state); if (ret) { - adv_err(state, "Failed to reset hardware"); + adv_err(state, "Failed to reset hardware\n"); goto err_cleanup_clients; } /* Initialise HDMI */ ret = adv748x_hdmi_init(&state->hdmi); if (ret) { - adv_err(state, "Failed to probe HDMI"); + adv_err(state, "Failed to probe HDMI\n"); goto err_cleanup_clients; } /* Initialise AFE */ ret = adv748x_afe_init(&state->afe); if (ret) { - adv_err(state, "Failed to probe AFE"); + adv_err(state, "Failed to probe AFE\n"); goto err_cleanup_hdmi; } /* Initialise TXA */ ret = adv748x_csi2_init(state, &state->txa); if (ret) { - adv_err(state, "Failed to probe TXA"); + adv_err(state, "Failed to probe TXA\n"); goto err_cleanup_afe; } /* Initialise TXB */ ret = adv748x_csi2_init(state, &state->txb); if (ret) { - adv_err(state, "Failed to probe TXB"); + adv_err(state, "Failed to probe TXB\n"); goto err_cleanup_txa; } diff --git a/drivers/media/i2c/adv748x/adv748x-csi2.c b/drivers/media/i2c/adv748x/adv748x-csi2.c index 2091cda50935..c43ce5d78723 100644 --- a/drivers/media/i2c/adv748x/adv748x-csi2.c +++ b/drivers/media/i2c/adv748x/adv748x-csi2.c @@ -72,7 +72,7 @@ static int adv748x_csi2_registered(struct v4l2_subdev *sd) struct adv748x_state *state = tx->state; int ret; - adv_dbg(state, "Registered %s (%s)", is_txa(tx) ? "TXA":"TXB", + adv_dbg(state, "Registered %s (%s)\n", is_txa(tx) ? "TXA":"TXB", sd->name); /* -- 2.25.1.25.g9ecbe7eb18