media: saa7134: fix WARN_ON during resume
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Mar 2014 10:28:39 +0000 (07:28 -0300)
committerJiri Slaby <jslaby@suse.cz>
Thu, 15 May 2014 07:55:29 +0000 (09:55 +0200)
commitea40cecb77fd49ed40e4dcce2d8cdc33d9e9c070
tree64f0958e106ba40b33b41b41cf461d070afe8ca3
parente998c7851818fc39d4ea5102df1e855c6911edc3
media: saa7134: fix WARN_ON during resume

commit 30d652823de5fd7907d40e969a2d8e23938d8d03 upstream.

Do not attempt to reload the tuner modules when resuming after a suspend.
This triggers a WARN_ON in kernel/kmod.c:148 __request_module.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=69581.

This has always been wrong, but it was never noticed until the WARN_ON
was added in 3.9.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/media/pci/saa7134/saa7134-cards.c