Advertisement
Guest User

Official TBS dvb-core patch

a guest
Feb 28th, 2015
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. --- linux/drivers/media/dvb/dvb-core/dvbdev.c 2012-06-02 19:21:57.000000000 +0200
  2. +++ linux/drivers/media/dvb/dvb-core/dvbdev.c 2015-02-28 20:52:50.324122926 +0100
  3. @@ -68,7 +68,7 @@
  4. {
  5. struct dvb_device *dvbdev;
  6.  
  7. - mutex_lock(&dvbdev_mutex);
  8. + //mutex_lock(&dvbdev_mutex);
  9. down_read(&minor_rwsem);
  10. dvbdev = dvb_minors[iminor(inode)];
  11.  
  12. @@ -91,12 +91,12 @@
  13. }
  14. fops_put(old_fops);
  15. up_read(&minor_rwsem);
  16. - mutex_unlock(&dvbdev_mutex);
  17. + //mutex_unlock(&dvbdev_mutex);
  18. return err;
  19. }
  20. fail:
  21. up_read(&minor_rwsem);
  22. - mutex_unlock(&dvbdev_mutex);
  23. + //mutex_unlock(&dvbdev_mutex);
  24. return -ENODEV;
  25. }
  26.  
  27. @@ -439,6 +439,7 @@
  28. kfree(mbuf);
  29. return err;
  30. }
  31. +EXPORT_SYMBOL(dvb_usercopy);
  32.  
  33. static int dvb_uevent(struct device *dev, struct kobj_uevent_env *env)
  34. {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement