Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp9417607ybc; Sat, 30 Nov 2019 07:00:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyQnK07HBy3PCtCtaCRwt6VkmxWdpT16VMXvm8D+kfEx8gMFTHjnQQU9Ojd4xF7h06vv1oV X-Received: by 2002:a50:de06:: with SMTP id z6mr52512912edk.279.1575126040107; Sat, 30 Nov 2019 07:00:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575126040; cv=none; d=google.com; s=arc-20160816; b=pxfflNc/UKl9mx0IbHngRvicrb0i7/MDXpDx9UlTS1UyMGTbKF6USt07DN2rx3KQ0I 5+IZKYJkHDshljVRDpI/JJ34FCyfKnrSZZ9yZPizHIw6uAGOivFR51STNrccPCJQbYRm wa6Qk88JnSfPapHU7UO9oUFOeOfj/bYZEAb2dtVUDjnJWsCwqZCQWW94wayvLMBx/xXm cmIImGB2/44eTELcsGygL4DfSJgS8DYNSNgRnctoWB/X51H3sRimXep5u/jOPfBE1jj4 1P7r1yULJhSXNRSg53mH9vFuN8uHEZnz6c3A858guZfB2JrqIP4rvLelVIyLuGzvcfnJ nH2A== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=clpGjkWQjLwNVa9dG7ghNAn26+3WI/efWDFoEsdhUXk=; b=J+Y+jxOGOCFfiUehsSM/cbkZ6TLyACFQNZBSHxESiBZIUuC6McCv8EVO1ApnyLnYU/ AWt1nTpOEwaWdI8uZnXE3kRevqKtFrBISIVWoZfVN+aR8+oeXGUBf3UCCDQQiDtHwQUW ecxRAg5JmxFMDBTakTHGR/h+ft07e5zLjIVNpAFL74HjnXhFEPp8KYXQ7m16mIU5PRcI eSuQ316RVZEEQ60lzTZa8+LlNsyjEnuCiSvuDeN77YOTzz6nwn0WUcaOnDSap+Ate5Ja 4KC6tEOIIefInXhQ/ovwWPEaZkdv5E15Jshm/qL1/2slgdtBVjOK/dyitsakEBLwQ0fh t4Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=T+B5MWx1; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cx12si19878012edb.184.2019.11.30.07.00.16; Sat, 30 Nov 2019 07:00:40 -0800 (PST) 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=@googlemail.com header.s=20161025 header.b=T+B5MWx1; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbfK3O63 (ORCPT + 99 others); Sat, 30 Nov 2019 09:58:29 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45519 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfK3O63 (ORCPT ); Sat, 30 Nov 2019 09:58:29 -0500 Received: by mail-wr1-f67.google.com with SMTP id j42so12606735wrj.12 for ; Sat, 30 Nov 2019 06:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=clpGjkWQjLwNVa9dG7ghNAn26+3WI/efWDFoEsdhUXk=; b=T+B5MWx1NUXbV9Bve4Cj2BaBZFPdpWBp8JvKYzy2fgm8gNV68Yur4CdWocG7nFEqs7 QKTxDu7k5uOJDRn39E2x5FnXAZ13tZzV1iydluFTjUumiMwAqiJ4mKTidxQvZskfzeqm TqvjIVTROHaLGz2zMHuJlX2bVCxXbh/x1dafdLACR3WRq7NpUioDlVows2SZwEcMFxyG JeiY2613NZzisJmhXVZIkUlVqX/SX1ikNEr/jNOvEl3VREvoWG13xMbeKISMGQe5MMyK yxTIC+rt0lsxCAmbujUVPwSQFwyI6CAQMqD8GbyaTEixD7h49O97+Z7uq5vUh/NxRYjW 1rgw== 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:mime-version :content-transfer-encoding; bh=clpGjkWQjLwNVa9dG7ghNAn26+3WI/efWDFoEsdhUXk=; b=Y5r/5UxVEg7AyV6/665LOociAGemLZQBE64f1T/JJ992CKIDgfyZRDeuhLEQvg4yZu OvOEDFa00xPJVXIsy7wYMnUiFgOBvPQrWfW4N6kQbRgZaFOFZswYEWWRwvvGN/nocH+8 IsKHltEOkWW9te2Yk2C8vDS60UcmvdmNwo4o9YTItoBCgmdIzmlLwoEhllq9CubCaZZ1 10oxqRG6pVhfYaKEqLkkNYEZooSqSAlDROyVyUOqdo0YGdSf/YbsGDrsRpMmzrNs90cT Gt8fUmnIUUYu3dbRITFyW5yuTiEt5C1lnmWgxK5ReGb8YoQtxW0rSwwDlENnngKvWHfZ nSuA== X-Gm-Message-State: APjAAAU3w/UcDYVvT7phAXI78Wg0JaSy6yBOeqBTgOBQ2pm2YzEG+nRC dljt4dM+s1sUac7b1viTZAw= X-Received: by 2002:adf:bc4f:: with SMTP id a15mr6836305wrh.160.1575125907164; Sat, 30 Nov 2019 06:58:27 -0800 (PST) Received: from localhost.localdomain (p200300F1371CB100428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:371c:b100:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id c9sm3510202wmc.47.2019.11.30.06.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2019 06:58:26 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, narmstrong@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl Subject: [PATCH RESEND v1 0/2] amlogic: meson-ee-pwrc: two small fixes Date: Sat, 30 Nov 2019 15:58:19 +0100 Message-Id: <20191130145821.1490349-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While working on power domain support for the 32-bit SoCs I had some crashes when trying to actually use the power domains. Turns out I had a bug in my patches which add support for the older SoCs to meson-ee-pwrc. However, I didn't notice these because the driver probed just fine. This is my attempt to spot "problems" (bugs in my code) earlier. RESEND: sorry for the noise, I forgot to add the linux-amlogic mailing list. This is important so patchwork can pick up these patches. Martin Blumenstingl (2): soc: amlogic: meson-ee-pwrc: propagate PD provider registration errors soc: amlogic: meson-ee-pwrc: propagate errors from pm_genpd_init() drivers/soc/amlogic/meson-ee-pwrc.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) -- 2.24.0