Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e77c4e6a authored by Lisa Nguyen's avatar Lisa Nguyen Committed by Greg Kroah-Hartman
Browse files

usb: misc: Fixed assignment error in if statement



Fixed the assignment error in an if statement in adutux.c

Signed-off-by: default avatarLisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 83fc1fcd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -276,7 +276,8 @@ static int adu_open(struct inode *inode, struct file *file)

	subminor = iminor(inode);

	if ((retval = mutex_lock_interruptible(&adutux_mutex))) {
	retval = mutex_lock_interruptible(&adutux_mutex);
	if (retval) {
		dbg(2, "%s : mutex lock failed", __func__);
		goto exit_no_lock;
	}