|
@@ -177,13 +177,9 @@ static int crtc_crc_open(struct inode *inode, struct file *filep)
|
|
* guess when this particular piece of HW will be ready to start
|
|
* guess when this particular piece of HW will be ready to start
|
|
* generating CRCs.
|
|
* generating CRCs.
|
|
*/
|
|
*/
|
|
- ret = wait_event_interruptible_lock_irq(crc->wq,
|
|
|
|
- crtc_crc_data_count(crc),
|
|
|
|
- crc->lock);
|
|
|
|
|
|
+ wait_event_lock_irq(crc->wq, crtc_crc_data_count(crc), crc->lock);
|
|
spin_unlock_irq(&crc->lock);
|
|
spin_unlock_irq(&crc->lock);
|
|
|
|
|
|
- WARN_ON(ret);
|
|
|
|
-
|
|
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
err_disable:
|
|
err_disable:
|