Dan Carpenter wrote:
If change_protocol() fails and we goto out_raw, then it calls unlock
twice.
Gah, good catch, I gotta quit adding new bugs... ;)
I noticed that the other time we called change_protocol() we
held the &dev->lock, so I changed it to hold it here too.
Signed-off-by: Dan Carp
If change_protocol() fails and we goto out_raw, then it calls unlock
twice. I noticed that the other time we called change_protocol() we
held the &dev->lock, so I changed it to hold it here too.
Signed-off-by: Dan Carpenter
---
Compile tested only.
diff --git a/drivers/media/rc/rc-main.c b/driv