fbdev: omapfb: fix some error codes
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 16 Oct 2023 11:19:52 +0000 (14:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 13:11:00 +0000 (14:11 +0100)
commit50736464a75a4b43d824542848dedb8fee2ce014
treeffbafbb1cffd963055f9f1d73eb3bf9ba44ab47c
parent6a87b333ba4784ba23c1e74693f5c1b0268ac137
fbdev: omapfb: fix some error codes

[ Upstream commit dc608db793731426938baa2f0e75a4a3cce5f5cf ]

Return negative -ENXIO instead of positive ENXIO.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/omap/omapfb_main.c