linux_dsm_epyc7002/drivers/media
Uwe Kleine-König b89fc2e5e7 V4L/DVB sh_mobile_ceu: don't check platform_get_irq's return value against zero
platform_get_irq returns -ENXIO on failure, so !irq was probably
always true.  Better use (int)irq <= 0.  Note that a return value of
zero is still handled as error even though this could mean irq0.

This is a followup to 305b3228f9 that
changed the return value of platform_get_irq from 0 to -ENXIO on error.

Cc: David Vrabel <dvrabel@arcom.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Magnus Damm <damm@igel.co.jp>
Cc: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-01-17 11:31:37 -02:00
..
common V4L/DVB (13934): tda8290: Fix FM radio easy programming standard selection for TDA8295 2010-01-17 11:31:37 -02:00
dvb V4L/DVB (13834): dib8000: fix compilation if !DVB_DIB8000 2010-01-17 11:31:35 -02:00
IR V4L/DVB (13858): ir-keytable: use the right header 2010-01-17 11:31:36 -02:00
radio V4L/DVB (13690): radio/si470x: #include <sched.h> 2009-12-16 09:28:00 -02:00
video V4L/DVB sh_mobile_ceu: don't check platform_get_irq's return value against zero 2010-01-17 11:31:37 -02:00
Kconfig V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00
Makefile V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00