Re: [RESEND PATCH] media: fix au0828_analog_register() to not free au0828_dev

2015-01-28 Thread Shuah Khan
On 12/20/2014 08:24 PM, Shuah Khan wrote: > au0828_analog_register() frees au0828_dev when it fails to > locate isoc endpoint. au0828_usb_probe() continues with dvb > and rc probe and registration assuming dev is still valid. > When au0828_analog_register() fails to locate isoc endpoint, > it shoul

[RESEND PATCH] media: fix au0828_analog_register() to not free au0828_dev

2014-12-20 Thread Shuah Khan
au0828_analog_register() frees au0828_dev when it fails to locate isoc endpoint. au0828_usb_probe() continues with dvb and rc probe and registration assuming dev is still valid. When au0828_analog_register() fails to locate isoc endpoint, it should return without free'ing au0828_dev. Otherwise, the