OSDN Git Service

USB: ftdi_sio: fix minor typo in get_ftdi_divisor
authorIonut Nicu <ionut.nicu@cloudbit.ro>
Mon, 11 Jul 2011 13:46:12 +0000 (16:46 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 17 Aug 2011 17:55:51 +0000 (10:55 -0700)
commitb2dc65e856c69b36a183c0ba41ff5f5a3af92fc8
treed79fcb6dfa2179a37b55d32cd2f5351f5e600c7b
parent73ca9294d982e43a1945ae00262d9ee6b09efe34
USB: ftdi_sio: fix minor typo in get_ftdi_divisor

commit 1862cdd542025218f7a390b7e6ddc83a1362d1e0 upstream.

Even if it's unlikely for this to cause an error,
there is a typo in the code that uses the bitwise-AND
operator instead of the logical one.

Signed-off-by: Ionut Nicu <ionut.nicu@cloudbit.ro>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c