]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc-core: reuse device numbers
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 19:27:55 +0000 (16:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 15 Jan 2014 13:46:37 +0000 (11:46 -0200)
commitbe8e684c2a8dfe9f882e3a1181737b96356dd0e6
tree27085d4b19b5d52f252bc5a0b3f63752cb69009c
parenta3a2269bca0627008e81e150a39d8a13622444e7
[media] rc-core: reuse device numbers

Before changeset 4ed4672bcc4ea, the remote controller device numbers
were released when the device were unregistered. That helped to maintain
some sanity, as, when USB devices are replugged, the remote controller
would get the same number.

Restore the same behaviour.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/rc-main.c