Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp173632pxf; Wed, 17 Mar 2021 02:17:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxogbEcq7vFnT9D4/aK5+peCfJ9aBlWdiRqIwQLYrx3NcFylyQRSv4qXJOXEsmw3qcOzfqL X-Received: by 2002:a17:907:7651:: with SMTP id kj17mr34565729ejc.127.1615972659604; Wed, 17 Mar 2021 02:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615972659; cv=none; d=google.com; s=arc-20160816; b=eIiThE4SPV54SioJcuAKZc3K2n/3IEK23XznQ6FFLq3mQ0baDhqMrR4o/YxayraNPi AUOAnRPAcKOO1M46uL2R5HXgbG50WK1vNhe92Zcv/SFMxa5JUbHNgP88O5tumeuZQDwB 5sVo0RqkknZk8xHMdCs6SD9MLtVMMS1PFkxKv8bVZYtamFBP4DEJdRRIrMHADWhEJCFi fqNnKjn6IkgOr8bjALbfwoa0KFvrF1HPv4WoVYfawrmfTjmFxhKkf32GBaZrlEj6vwUB 2KUFBFtFso6tHgSukRbMOi0ffby6w0A/Lp4U8MfvmmCLrXqdGG8arRA6aW1ePKa4JqRQ zDEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oTL9AJaFLnaIJwp+xH/32TIHC+0/+FSk9wN00bes39U=; b=OZl5HvDYgWTIsp4CYEYmcQp67fc6qoeDHisBqa8rGLfYLucgSXKbs7th5aWBgEYZoK z/Bv6DXLl6olr3IwpcdEAIQveOusMRooHiSUeLhvmPczYmartDG8nqE3SEMARQtYpH1t yS4WmwwBMW0LihEnzq9bk2kk6qcQyuFnrwf0khwyBeeWTtc5y/SZgxCRTvEMs6F64kcW M4jZ45vsKH5omo1S6guKhMa3FsisqDUtB4SB88eFpIaVzZsDuXvW/B8UPW/ihWNVo1mq 6LZDjgngU7RWEwZbpn7NeiPJQI49AhdG/1HgtHNpIGWzMwI7p2oVYImEZXqHAH5q6noQ yNzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uMXE+Vtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb21si15616821ejb.170.2021.03.17.02.17.17; Wed, 17 Mar 2021 02:17:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uMXE+Vtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbhCQJQJ (ORCPT + 99 others); Wed, 17 Mar 2021 05:16:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229840AbhCQJQE (ORCPT ); Wed, 17 Mar 2021 05:16:04 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA30C06174A for ; Wed, 17 Mar 2021 02:16:03 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id j18so1018388wra.2 for ; Wed, 17 Mar 2021 02:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=oTL9AJaFLnaIJwp+xH/32TIHC+0/+FSk9wN00bes39U=; b=uMXE+VtjZWadyYCebKZ3fIggjz4V1ChdYHWACmzHieC+U5oQgoCuWUExVACd5lgsxw w8s4oFwYG2AfLmamwBO9l9q/0TJ0gCkYFIuji6TWH18CtdAPoR6InemljL7TIsIXKRtt 4A7O7wFyg52FK5pUVZzz0oLvx9BjVIqhabtjd6KLq01ti84V3Jhp4GcEDmBBZ3vOAH1e fUDXTKuJbq6ffGadIu8bCA9YpaFqktUqK6fzurFSa82mW9TodOD9yp+4OW+3IXowiWBO aa59V0PpQbYGVaH6WRVool0cghcBDK8OnkTMFtqO/nFZAO4i2WcpJTi7t9ouldiPeFE6 4N9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=oTL9AJaFLnaIJwp+xH/32TIHC+0/+FSk9wN00bes39U=; b=brI4TMVmJfAz36aQdDOMgia+8e1+bnCU6dNm3oJuhFZ0YyNGzfyzfF4gmPZCYt3I9o DKcwY4xXkeRGxQyG4HrtXtsSsr2XWHsSIxU82vtkxJ8nTVOSp53YQYYvXkaU1wegz/2B A0nAMVhPnRtV8QiM6JpCRdFuz8fsZGklnwVwKxoO1jlta/mpsZWZNpGUiO8Z4qY9W+Ch sc26xoMkeF6crYtYG0lzP5pDL0J/CIzrcQO/UY/tUeaet9Q/OoBTFSZKfdrWWmIpVp7A zq4yecD0JSOp4q5pQHgLsjE3mLjrRsRvzrFv4bdeuPZCR71zSF1vkUdazwFAa61uIx0j jzyA== X-Gm-Message-State: AOAM533eBDWWgZD+GsglCTPLzkeugxKoSH3X4orVIVCQClKssFSTNHsb boNA+t0fxlEBoUxhMiXlxTAj6A== X-Received: by 2002:a5d:4587:: with SMTP id p7mr3343208wrq.205.1615972562580; Wed, 17 Mar 2021 02:16:02 -0700 (PDT) Received: from dell ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id p14sm1765900wmc.30.2021.03.17.02.16.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 02:16:02 -0700 (PDT) Date: Wed, 17 Mar 2021 09:16:00 +0000 From: Lee Jones To: Marijn Suijten Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Kiran Gunda , Obeida Shamoun , Andy Gross , Bjorn Andersson , Daniel Thompson , Jingoo Han , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] backlight: qcom-wled: Use sink_addr for sync toggle Message-ID: <20210317091600.GJ701493@dell> References: <20210314101110.48024-1-marijn.suijten@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210314101110.48024-1-marijn.suijten@somainline.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Mar 2021, Marijn Suijten wrote: > From: Obeida Shamoun > > WLED3_SINK_REG_SYNC is, as the name implies, a sink register offset. > Therefore, use the sink address as base instead of the ctrl address. > > This fixes the sync toggle on wled4, which can be observed by the fact > that adjusting brightness now works. > > It has no effect on wled3 because sink and ctrl base addresses are the > same. This allows adjusting the brightness without having to disable > then reenable the module. > > Signed-off-by: Obeida Shamoun > Signed-off-by: Konrad Dybcio > Signed-off-by: Marijn Suijten > --- > drivers/video/backlight/qcom-wled.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog