Antti Palosaari 7730b2f41c media: msi2500: assign SPI bus number dynamically
commit 9c60cc797cf72e95bb39f32316e9f0e5f85435f9 upstream.

SPI bus number must be assigned dynamically for each device, otherwise it
will crash when multiple devices are plugged to system.

Reported-and-tested-by: syzbot+c60ddb60b685777d9d59@syzkaller.appspotmail.com

Cc: stable@vger.kernel.org
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-26 16:02:45 +01:00
..
2020-09-24 09:05:04 -07:00
2020-09-27 11:29:45 +02:00
2020-06-03 20:59:38 -07:00
2020-09-07 16:13:06 +02:00
2020-09-07 16:13:06 +02:00