Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2218621rwb; Mon, 19 Sep 2022 01:19:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5takaajQbNrVI/EkShhoxUnGf0cgHxCBx/u11h8bXBfX3xeI68NJz2zDdaXo0L2CpIe7zP X-Received: by 2002:a62:7987:0:b0:542:ad8f:fd75 with SMTP id u129-20020a627987000000b00542ad8ffd75mr17272331pfc.74.1663575555281; Mon, 19 Sep 2022 01:19:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663575555; cv=none; d=google.com; s=arc-20160816; b=inEOw4wjM2RlQHXo9dORgOzPTMaJ12Qo4eUxrvfxEba5/PiY5BaaZa5ucCEFk+Lw7f /l5tctr+1pe0FL5XOKjPbv/GlHtW0R03ErtEPyzknoH9oggcPziTW/ULNRWuXkl5Qx4p 4cGKfBV+bYKuVQCJLLYcya+9Fkd/fpnPV+VrA5NKixOO2o3MroFjr36noux8rNdxQXx/ Y8PUj6FXmACkEqK6i3ZP6C1jC+cUObscdCAq8FHzk9Q6IHrbulCsalecRGYxAx3l/bdT JZkghf5m4j3rLVQMwNAqNxZjXjdFm5gBKDVxPWQymfxLbC/Ohe4lQd72LmCUksfge8g1 +eQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gTZvTH9st1aFSmtWOaet51wX59FIRj5q3YqnBaWGBeo=; b=i5ddD2P5kf+0ppVh5bTNF8B7VhJiLrgMNUcbpDYObxkADTbkokLSys+NPDBJZHq28L P9BAC+HrRkJtAs8pytvpGBNBbZBBp+zmmVGaxvKy360ZJpXXpLGY1dbEZZfyJFjWbUV2 oPqqwlROE1TRFZPk+sQtmDvfcbDSG6Tl0+PiVNBlV0lyh5zmpGC+FedUVW8Da2Qr4p7i U2qXivrsI3taKwUY+niOcIctTlC7sCYEgKO8mlanUSwCVByjcpgCWhzcZBpEpzFW/erm imUg3JsyZLhJ1Mp7+6x7LwMWadagiqjSOg6PqhCiOxCVI8u4ycPu/xyzHwAW/AhmQ+dG VDRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="mT/ZoHOt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a056a0024ce00b00536c198ca83si29780058pfv.15.2022.09.19.01.19.02; Mon, 19 Sep 2022 01:19:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="mT/ZoHOt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbiISIFe (ORCPT + 99 others); Mon, 19 Sep 2022 04:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbiISIFX (ORCPT ); Mon, 19 Sep 2022 04:05:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 743E812D2C for ; Mon, 19 Sep 2022 01:04:53 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3D13F6601AAA; Mon, 19 Sep 2022 09:04:50 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1663574691; bh=AxmpGgtft9fTu7bm6VSK/NdXOjH/7AO58c7gygKahWg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mT/ZoHOtPw16Hdhvw+HFPR3L1c7Q/vmd8/ck+evhjxIRCTFttlLxjm/i2pBa0XOgq fjsbHOy2Ou+KhIpaSxoCU4o0Jp3CDH/jT4/0+P8dif7+2w0PopCKoFA8E2r5tx91ch cPebNjiHhEMFYoGoVusYcDC89SSmslLR+GzkY3GiIKjAAJ8/siqgJTXHTcrD9j2Oj0 vMMe2SFGvqwLswUK6m2MQMziKdY21kdjGHWgAtZJ0KQUbbiAo9V6ftxZocCjbwX8A3 PVYiLr3uOe+Es6PxcC/0CxyKjWjiAqBtQxEnuuW03rxnjQ/4oqk7awac1dAuS5VDJK NV1Qm0c+YV9ww== Message-ID: <2a394e37-ac3c-77ad-d482-e36bd1ab3346@collabora.com> Date: Mon, 19 Sep 2022 10:04:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v2 1/3] drm/mediatek: dp: Reduce indentation in mtk_dp_bdg_detect() To: Bo-Chen Chen , chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie Cc: matthias.bgg@gmail.com, granquet@baylibre.com, daniel@ffwll.ch, jitao.shi@mediatek.com, ck.hu@mediatek.com, liangxu.xu@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20220916133821.27980-1-rex-bc.chen@mediatek.com> <20220916133821.27980-2-rex-bc.chen@mediatek.com> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20220916133821.27980-2-rex-bc.chen@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 16/09/22 15:38, Bo-Chen Chen ha scritto: > In order to improve human readability, reduce the indentation by > returning early if the dp/edp cable is not plugged in. > > Signed-off-by: Bo-Chen Chen Reviewed-by: AngeloGioacchino Del Regno