Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cx231xx deadlock #120

Closed
smallint opened this issue Mar 3, 2016 · 1 comment
Closed

cx231xx deadlock #120

smallint opened this issue Mar 3, 2016 · 1 comment

Comments

@smallint
Copy link

smallint commented Mar 3, 2016

I am playing currently with tbs 5990 driver support from CrazyCats repo and found a deadlock in dvb_init which should affect your repo as well.

The dev->lock mutex is being locked in https://github.com/ljalves/linux_media/blob/latest/drivers/media/usb/cx231xx/cx231xx-dvb.c#L702 (inside the loop) but only releases outside the loop. This affects only devices with more than 1 adapter. I fixed that by unlocking the mutex at the end of the loop body and locking it again after the loop. For more information see https://github.com/crazycat69/linux_media/issues/1.

The device basically works but there are some issues to be resolved. Is there anything special about the 5990 that it has not yet gotten much driver support? I don't care about CI.

@smallint
Copy link
Author

smallint commented Mar 8, 2016

Obviously no interest in it ...

@smallint smallint closed this as completed Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant