Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] siano: Use the default firmware for Stellar

The Stellar firmware load routine is different. Improve it to use
the default firmware, if no modprobe parameter tells otherwise.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Tested-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

+3
+3
drivers/media/usb/siano/smsusb.c
··· 245 245 int rc, dummy; 246 246 char *fw_filename; 247 247 248 + if (id < 0) 249 + id = sms_get_board(board_id)->default_mode; 250 + 248 251 if (id < DEVICE_MODE_DVBT || id > DEVICE_MODE_DVBT_BDA) { 249 252 sms_err("invalid firmware id specified %d", id); 250 253 return -EINVAL;