EDAC, altera: Do not allow suspend when EDAC is enabled
EDAC, altera: Do not allow suspend when EDAC is enabled

Suspend-to-RAM and EDAC support are mutually exclusive on SOCFPGA. If
EDAC is enabled, it will prevent the platform from going into suspend.

The reason is that the IRQ vectors for OCRAM reside on DDR and in
Suspend-to-RAM mode we're executing out of OCRAM. If an ECC error
occurs, we can't handle it so it was decided to make them mutually
exclusive.

Signed-off-by: Alan Tull <802de0f9a1e787b54315a5f20517960cd3907ea7@opensource.altera.com>
Signed-off-by: Dinh Nguyen <a48724738fc762a7f206428dfcaf7ede2fd84d0f@opensource.altera.com>
Cc: d1f844f8bd74832837cb56d5eba8684fe376848a@gmail.com
Cc: 35920ba1a7821e73308e9ec6cecac34ddd29c0c4@xmission.com
Cc: linux-edac <2f2877799b28945e915fed027ea960f3cffe53dd@vger.kernel.org>
Cc: ad86ba2154032c9f55743a190faa2459a9d61d42@osg.samsung.com
Cc: e9e18c12cd15ca63116099b02663c9e3d043a667@opensource.altera.com
Link: http://lkml.kernel.org/r/1433512155-9906-1-git-send-email-a48724738fc762a7f206428dfcaf7ede2fd84d0f@opensource.altera.com
Signed-off-by: Borislav Petkov <0691a664b24b6f15b20cd5aee64b72271db08be1@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs