EDAC, altera: Check parent status for Arria10 EDAC block
authorThor Thayer <tthayer@opensource.altera.com>
Wed, 22 Jun 2016 13:58:52 +0000 (08:58 -0500)
committerBorislav Petkov <bp@suse.de>
Fri, 24 Jun 2016 09:58:42 +0000 (11:58 +0200)
commit44ec9b307ee7392fe187caa71fcb886526efde1d
treec6a5e1cd7048122e5d39d7205533c218219d55d8
parent1cf703772473022ac89d815871b20aa4738449b4
EDAC, altera: Check parent status for Arria10 EDAC block

In preparation for the Arria10 ECC modules, check the status of the
parent in the device tree to ensure the block is enabled. Skip if no
parent phandle is set in the device tree.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1466603939-7526-2-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c