mbox series

[v1,0/2] Fix A10 clock driver crash after changes in DM core

Message ID 1583742120-6661-1-git-send-email-chee.hong.ang@intel.com
Headers show
Series Fix A10 clock driver crash after changes in DM core | expand

Message

Ang, Chee Hong March 9, 2020, 8:21 a.m. UTC
From: "Ang, Chee Hong" <chee.hong.ang@intel.com>

Changes in DM core from following patch crashed the A10 clock driver:

commit: 82de42fa14682d408da935adfb0f935354c5008f
Subject: dm: core: Allocate parent data separate from probing parent

At present the parent is probed before the child's ofdata_to_platdata()
method is called. Adjust the logic slightly so that probing parents is
not done until afterwards.

Signed-off-by: Simon Glass <sjg@chromium.org>

These patchsets fix the A10 driver issue and replce the FDT API with
ofnode API.

Chee Hong Ang (2):
  clk: socfpga: Read the clock parent's register base in probe function
  clk: socfpga: Switch to use ofnode API

 drivers/clk/altera/clk-arria10.c | 88 +++++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 47 deletions(-)