ARM: socfpga: checking the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 17 Nov 2016 01:54:40 +0000 (19:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Nov 2016 07:14:55 +0000 (08:14 +0100)
commit96bc818397017aa919d3390af14ade39206322d5
tree81f7e039ece2a3d4368139607466d63dda5af099
parentee76bba7e547b386d641bff0b7408b598ec422a1
ARM: socfpga: checking the wrong variable

This is a cut and paste bug.  We had intended to check "sysmgr".

Fixes: e5f8efa5c8bf ("ARM: socfpga: fpga bridge driver support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Acked-by: Alan Tull <atull@opensource.altera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/altera-fpga2sdram.c