[media] mceusb: add some missing cmd sizes
authorWilliam Steidtmann <billstei@hbci.com>
Mon, 15 Apr 2013 20:17:11 +0000 (17:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 21:53:34 +0000 (18:53 -0300)
commit76dea4cf52784474ca6adc4a2addf55e128b3634
tree8cb8448e86da3d07a29347dbbcaa59bfe8ed1912
parentbebe3c69de77fed87c1e36cc18e9c80985391918
[media] mceusb: add some missing cmd sizes

Fix mceusb_cmdsize() which returns incorrect datasize=0 for
sub-commands MCE_RSP_GETPORTSTATUS, MCE_RSP_GETWAKESOURCE,
MCE_RSP_EQDEVDETAILS, MCE_RSP_EQEMVER, and MCE_RSP_EQIRNUMPORTS.

While here, change mceusb_cmdsize() name to reflect that it returns
data size not cmd size.

Signed-off-by: William Steidtmann <billstei@hbci.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/mceusb.c