]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fpga: altera-cvp: Fix registration for CvP incapable devices
authorAndreas Puhm <puhm@oregano.at>
Wed, 7 Nov 2018 17:51:47 +0000 (11:51 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:45:58 +0000 (19:45 +0100)
commit21c53f73ea03b20cebc9a4d23a39abf05e58dfd9
treebdd93ca71e2b97d27636b12d23dc6813e966b5e0
parentcea8d9e424bd42ee7305c1b41d7f6b2846e472fb
fpga: altera-cvp: Fix registration for CvP incapable devices

[ Upstream commit 68f60538daa4bc3da5d0764d46f391916fba20fd ]

The probe function needs to verify the CvP enable bit in order to
properly determine if FPGA Manager functionality can be safely
enabled.

Fixes: 34d1dc17ce97 ("fpga manager: Add Altera CvP driver")
Signed-off-by: Andreas Puhm <puhm@oregano.at>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Moritz Fischer <mdf@kernel.org>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/fpga/altera-cvp.c