Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5360944imm; Tue, 19 Jun 2018 09:11:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLwUpeKs3ThxflUz7SovL38KIWMUWLKqMzP/l78YrEOth9nTQC/p8HAEhB1dV3sBlJHgSzD X-Received: by 2002:a63:7056:: with SMTP id a22-v6mr15595950pgn.22.1529424680126; Tue, 19 Jun 2018 09:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424680; cv=none; d=google.com; s=arc-20160816; b=xKU0u8yfY+w7a0pu6dEKlXpcpcSc5qMorrVjisYG9/GRad/WuzX+wqMCu98s9QJk/f vJjuQ12nENBfipM3CINhbLswZGw53OiVtLD7XEVP5mkiOkai54T/n8v4cej8nNn8q2Oq LTzEqGw0NwXhfmI8gVL/te9Ok0lw85aDVwstza7B4YgGYJEh5PUCN25umuUwNgyoo/bE LebCZJP371sZjEonq+XqB4OsuNY+8j+WRRHks/cvHxL2QthQY+rVwQFYKDIFCnX03hB7 O6k312FsT+zfJwaYOkEds+LHl7jtjwUG4fnqUGTEwWupK2s/mGEuyree/ytk52VseyHm 1eYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Vn+iQu4vTgRDY1K1v5D86tPnWPlL/gmK3VpcZLouIWI=; b=PfQrl0MMudP6f7yxn/VnJGILVP5P4vIo9NrhnEJzFHhddoMh77Jla8EB5EAmv6LmZR T3j/cSWnQV+G3SBjwe7v3e9wUcY6QL5JDmbFBNxEWoJ96ZiOafosB7yEkEgF2LBGl+E0 KFg6Myr+z9Jds0+be7TN8GxTz5PeckmWygqbjsWym/jLV9ZaGbeC6VwCG15TQzbvKGDv 5girKBZilTJkuL8EpbgVEne/bo14w3rmg5tEtEyCaRYD+rmbxbhkjfZZA3QZmhT4xau+ R/yhr6PoYT7D6zx/aZDeYJB9op9ROL1hdvg9tj5BuYcat/qv0/dAfW5ddw1bZNNBgh1Z 0pnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=cPYdaOOG; 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 d31-v6si48089pld.23.2018.06.19.09.11.06; Tue, 19 Jun 2018 09:11:20 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=cPYdaOOG; 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 S967058AbeFSQKE (ORCPT + 99 others); Tue, 19 Jun 2018 12:10:04 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37091 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967029AbeFSQJ7 (ORCPT ); Tue, 19 Jun 2018 12:09:59 -0400 Received: by mail-wm0-f65.google.com with SMTP id r125-v6so1486354wmg.2 for ; Tue, 19 Jun 2018 09:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Vn+iQu4vTgRDY1K1v5D86tPnWPlL/gmK3VpcZLouIWI=; b=cPYdaOOGKl/66MJNSm8JdniYhhjtksmD2wub5+pc5HHwjkFVkv0ngpMOZnUOL3+y1s avmc2JH6/e7SVmnTXLwmMMjZV7iUOs58AaQDs07FBZl8UDbEuA73gaConK212vw9F6/Y UIZsPcHvd5IPcDXlMelPs+/X0/YMvzaRAOTZHaFySdtbbMKgaSDxBbmVCVz3wd4Cha1I +nTR83s7kMH6VL5+CS+n0DtH3F+GD5Jv3bECNowfKM/FjELqOl5G823bFMZqjzDnopRk Cvdd9Z7V7SQ/1IDExf7x50ojMvDlqZtaXUIY6c2kVbWm+BXJZ+g6Xo8lChCX0lgMyfya IjDQ== 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; bh=Vn+iQu4vTgRDY1K1v5D86tPnWPlL/gmK3VpcZLouIWI=; b=a0L/W4txqQpR9+AK7gGBIYYjooi4qBDfKoJ4gQBycttlxK+FK3TbPlN/Ax8CQURkAv 9sm6kq4xvn9IJBecStWyThyv6GOt6ipXlA47cyMG2kxS3Z9JD+Eoza6lHioDWS6o9adM +yEgVy2GGbij4BjHAJK/jNXvifnSXP0gEW3AytZUpke+rVZwN4+P8lc/WWOcDtCpkoav fBaFRskuBFi84wpoM+ZEcpYc3GmnH/cOlPEILVUnIe8pvb7jfxEepL8MDpb5JL3RmnKW TCiTBdXib0rAcd4wCt+Ryk9q4tvoGdBackqMhw8T7B9WFosHN+Wpf/XSO/Vej9CGASJ/ x2EA== X-Gm-Message-State: APt69E18FoXQsh+4rYXpenstnuJDdL+wubtqBwRgoR/G5GgoeA2suKqA 8rOp9buiR/YJtYi4LO+KnxWnVg== X-Received: by 2002:a1c:1d1:: with SMTP id 200-v6mr11949469wmb.145.1529424597966; Tue, 19 Jun 2018 09:09:57 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-1-7080-22.w90-116.abo.wanadoo.fr. [90.116.249.22]) by smtp.gmail.com with ESMTPSA id 74-v6sm619327wmt.31.2018.06.19.09.09.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 09:09:57 -0700 (PDT) From: Bartosz Golaszewski To: Grygorii Strashko , "David S . Miller" , Florian Fainelli , Dan Carpenter , Ivan Khoronzhuk , Rob Herring , Lukas Wunner , Kevin Hilman , David Lechner , Sekhar Nori , Andrew Lunn Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 0/3] net: davinci_emac: fix suspend/resume (both a regression and a common clk problem) Date: Tue, 19 Jun 2018 18:09:47 +0200 Message-Id: <20180619160950.6283-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Earlier today I sent the first patch as a solution to a regression introduced during the v4.16 merge window, but after testing David's common clock series on top of 4.18-rc1 + this patch it turned out that the problem persisted. This is a follow-up containing the regression fix and two additional patches that make suspend/resume work with David's changes. Bartosz Golaszewski (3): net: ethernet: fix suspend/resume in davinci_emac net: phy: set the of_node in the mdiodev's struct device net: davinci_emac: match the mdio device against its compatible if possible drivers/net/ethernet/ti/davinci_emac.c | 19 +++++++++++++++++-- drivers/net/phy/phy_device.c | 1 + 2 files changed, 18 insertions(+), 2 deletions(-) -- 2.17.1