Home
last modified time | relevance | path

Searched hist:"5 c1a56c9" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/usb/dvb-usb/
H A Dttusb2.c5c1a56c9 Mon Mar 28 15:41:32 CDT 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: dvb-usb: ttusb2: use an enum for the device number

The device number is currently a value that needs to be the same
on two separate tables, but the code doesn't actually enforce it,
leading to errors as boards get added or removed.

Fix it by using an enum.

Link: https://lore.kernel.org/linux-media/b447d9fd3832da5eff6267e8fe742c431f1133f2.1648499509.git.mchehab@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
/openbmc/linux/include/media/
H A Ddvb-usb-ids.h5c1a56c9 Mon Mar 28 15:41:32 CDT 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: dvb-usb: ttusb2: use an enum for the device number

The device number is currently a value that needs to be the same
on two separate tables, but the code doesn't actually enforce it,
leading to errors as boards get added or removed.

Fix it by using an enum.

Link: https://lore.kernel.org/linux-media/b447d9fd3832da5eff6267e8fe742c431f1133f2.1648499509.git.mchehab@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>