]> git.karo-electronics.de Git - linux-beck.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)
commit587d1b06e07b4a079453c74ba9edf17d21931049
tree27085d4b19b5d52f252bc5a0b3f63752cb69009c
parentc3aed262186841bf01feb9603885671ea567ebd9
[media] rc-core: reuse device numbers

Before changeset d8b4b5822f51e, 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