Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2797014ybb; Sun, 22 Mar 2020 07:58:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuFsmJR5FkIE2ML0W1QabXIOvm5BMm+JvnvrHavbkbr01+v01yDJS6Y5JsSV9xDkqDLWKfS X-Received: by 2002:a9d:654c:: with SMTP id q12mr3411260otl.305.1584889112119; Sun, 22 Mar 2020 07:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584889112; cv=none; d=google.com; s=arc-20160816; b=ceisdj2kkh7lDmKmtxxJJrWPjs2XY0Kd/3Iz55Zico0r/k+v5Za2j0xuXzvIBwJ+/L paMQ4jdRVBBtfdVgmjXTihrl7xIMr2CODPXdD9acPgPToS3sMY2FgLrFnsb1YHwWS3W8 NMUzOZEVocczvG0e3knwmkp4XTQ2vultqRIj3KZgDji9ByhyO2auZhFQK6AF8qGYnUXM /1JTBo4PUszq6Q33JEIwyYLIl1teYNM93oKFOipezeRPC5OgoSXpGjGeRxTthbvRokTd UUuPKOqZyrSoA6ZCAUmU44TA2TO8SSb68T/pK4jSwGbIsn8oMqDaoLaA8Nhw2vXNl1u9 jgEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=X68Qo+4qHC+f9vKqP0qp4I2iyaYoAkEV5Du4wV9D/yg=; b=H4hPGhJNoZnAgPx1MdKCPTj03wyDZKbbrwtvqf+4ZaXJPx230mxJ3tAqgurEd4FX4Z Z31h6kF0t0pmsF8k7p3Ge7WLX2IZGc7XcyFBW31hcjPRKUkPiRl6Zw40NrvLGyhfMNOL +JqelYnB59wcN+8jecMZKSAE/ViGJsawoudpkfylxoi05rshdIJTn848imn5z8aoEoC0 NXg/EaFjK17iBogOf4J8ZsYq+4cnxRVwF7PwvTF7psqhm73vX7NqcLFFsncwxvJrCYvx He+JkmQg52SFUoSE0yWdhBcIydHCjG7Gr8BmrWqHNNTezhkH89EHg/DQu5gpSzCKp6Z6 lG9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aC4298Vq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v142si6230117oie.217.2020.03.22.07.58.18; Sun, 22 Mar 2020 07:58:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aC4298Vq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbgCVO4v (ORCPT + 99 others); Sun, 22 Mar 2020 10:56:51 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40045 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgCVO4v (ORCPT ); Sun, 22 Mar 2020 10:56:51 -0400 Received: by mail-wm1-f67.google.com with SMTP id a81so5848885wmf.5; Sun, 22 Mar 2020 07:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=X68Qo+4qHC+f9vKqP0qp4I2iyaYoAkEV5Du4wV9D/yg=; b=aC4298VqnloVotWICqo182X/sv6Bufyeaq2ZK8tjRw4VDTN4ZpxDzyYeFsw2klYTqK Z6l6mRfvjNDIszLKOXsiOx4DEn4owdp2bTrVg11K9Wsdx131AI/zqNXNrizNxFmlFiP/ qybmLjMGNowRHpdmC3mTfmBPOsr6mX5CVfHGNr00/thqTiRijbmKXQv9uI8SJATVTN0h E8U4MdQMj5KQRSZkzTa+OqIIejFAyiBADfmN+PDGx61PcHik8k7jVw5U6oVEKfl7zfDb GGJ89DP80w0txKFVZfVsVybzDGptM1QO9ITYQnInm4tF7/QzRuL4n71Ow2tSq5BScDWB A3XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=X68Qo+4qHC+f9vKqP0qp4I2iyaYoAkEV5Du4wV9D/yg=; b=YByTuqRXTNbUiGLZUYdWS5pWrQy6vWD35WHJ1s7rC7mIZ2WHUUmIxP0N80pjw060n7 Y3X8VZClHHp8tJZ6dLftgAKX7eFg1LLdJGjjYmdFRNARRZaK9iX/XcT/QBgJuKlxEm97 awMV4T/lyaZo0sdxQW9aW8dUEq5yElAH/ZKFv0jyVEvfCrEmBZHclu9y6ZtvOnSXzCEP A7TfeCMixVMyWBwqrg7CA0ao2fEnMBN2LDgQgrzy6bPR8+MH4uUu0LUiM3Xy47nul0J6 nmMvPaprlO8+L+5jdJPe6hYmZAEwXAitYmbXX3eTWBm7zYaGSRx+PzuUJL0LKv7jz+qw jQOA== X-Gm-Message-State: ANhLgQ30+wlH3iSZgWtbOcnWKm7XrzIH6rsmw3qVRs8Stj+cKJUAkkKx 3uinSbBu8ynDMPwB0xK/ywo= X-Received: by 2002:a1c:ba06:: with SMTP id k6mr21009467wmf.136.1584889008168; Sun, 22 Mar 2020 07:56:48 -0700 (PDT) Received: from [192.168.1.23] (afam139.neoplus.adsl.tpnet.pl. [95.49.12.139]) by smtp.gmail.com with ESMTPSA id f9sm19546897wro.47.2020.03.22.07.56.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Mar 2020 07:56:47 -0700 (PDT) Subject: Re: [PATCH v4 3/5] leds: pwm: check result of led_pwm_set() in led_pwm_add() To: Pavel Machek , Denis Osterland-Heim Cc: "dmurphy@ti.com" , "mark.rutland@arm.com" , "robh+dt@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-leds@vger.kernel.org" , "devicetree@vger.kernel.org" , "uwe@kleine-koenig.org" References: <20200321081321.15614-1-Denis.Osterland@diehl.com> <20200321081321.15614-4-Denis.Osterland@diehl.com> <20200321152037.GB8386@duo.ucw.cz> From: Jacek Anaszewski Autocrypt: addr=jacek.anaszewski@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFWjfaEBEADd66EQbd6yd8YjG0kbEDT2QIkx8C7BqMXR8AdmA1OMApbfSvEZFT1D/ECR eWFBS8XtApKQx1xAs1j5z70k3zebk2eeNs5ahxi6vM4Qh89vBM46biSKeeX5fLcv7asmGb/a FnHPAfQaKFyG/Bj9V+//ef67hpjJWR3s74C6LZCFLcbZM0z/wTH+baA5Jwcnqr4h/ygosvhP X3gkRzJLSFYekmEv+WHieeKXLrJdsUPUvPJTZtvi3ELUxHNOZwX2oRJStWpmL2QGMwPokRNQ 29GvnueQdQrIl2ylhul6TSrClMrKZqOajDFng7TLgvNfyVZE8WQwmrkTrdzBLfu3kScjE14Q Volq8OtQpTsw5570D4plVKh2ahlhrwXdneSot0STk9Dh1grEB/Jfw8dknvqkdjALUrrM45eF FM4FSMxIlNV8WxueHDss9vXRbCUxzGw37Ck9JWYo0EpcpcvwPf33yntYCbnt+RQRjv7vy3w5 osVwRR4hpbL/fWt1AnZ+RvbP4kYSptOCPQ+Pp1tCw16BOaPjtlqSTcrlD2fo2IbaB5D21SUa IsdZ/XkD+V2S9jCrN1yyK2iKgxt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mInX1H+yHrX lu1uPAdqG5xcsZAZFTxBRMEnYu1yYebDSA9x+iulggMZQcWC2GvHCaKIpKcFY8XCxk7Hbl5c 8hcPKWOy16NLO6Y66Ws4kMedXuNUHe4zBLVlRbcYUdgT9Brw8nxmxu3KhEVsJkwOpXLUDuzo hQNfg9em95lpAK+VOTocke8PSESy3GbEtmoMueW3caSeDHb5dRP6WrndaYhEOzAA/KjuPU7J LMXOABOMIq+R38y7e2B3TnVDCrccdZDseFPUWmH0cGCGihH/j2UZG+PImrSDCh3h5MedVHGo sI62tmWm0q6lrljwSZmMZ30w1QaGmdFpI3Q6V+nZ7TZldI3x Message-ID: <566ac991-2e38-6c70-4b07-c8dd78d47a06@gmail.com> Date: Sun, 22 Mar 2020 15:56:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200321152037.GB8386@duo.ucw.cz> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/21/20 4:20 PM, Pavel Machek wrote: > Hi! > >> led_pwm_set() now returns an error when setting the PWM fails. >> >> Cc: Uwe Kleine-K?nig >> Signed-off-by: Denis Osterland-Heim > > I applied 1 and 2, but 3 failed for me. I'll push updated -next, can > you see what is going on there? Check the contents of the patch after writing it on a disk. In my case it contains a block of random characters. It is probably due to Content-Transfer-Encoding: base64. -- Best regards, Jacek Anaszewski