]> 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)
commit74d567f96c4263834f332245e721695530997a0f
tree27085d4b19b5d52f252bc5a0b3f63752cb69009c
parent1692a51e2e2ee67b440ae24270b811ffe29a0e60
[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