]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: Fix regression in some more dib0700 based devices
authorThomas Reitmayr <treitmayr@devbase.at>
Fri, 1 May 2015 23:18:04 +0000 (20:18 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:02 +0000 (09:29 -0700)
commit1202e777b67d669aef34326da1f248c933735c78
tree9d0efb722d7a08186798cd413978774541d2afff
parent24dade33c059e297602a100d5e3b34de3106e259
media: Fix regression in some more dib0700 based devices

commit e989a73ebd09d22c22ead51fa363a2f56f70f28a upstream.

Fix an oops during device initialization by correctly setting size_of_priv
instead of leaving it 0.
The regression was introduced by 8abe4a0a3f6d4217b16a ("[media] dib7000:
export just one symbol") and only fixed for one type of dib0700 based
devices in 9e334c75642b6e5bfb95 ("[media] Fix regression in some dib0700
based devices").

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=92301

Fixes: 8abe4a0a3f6d4217b16a ("[media] dib7000: export just one symbol")
Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/dvb-usb/dib0700_devices.c