From: Nicolas Kaiser Date: Wed, 25 May 2011 00:03:02 +0000 (+0200) Subject: staging: rts_pstor: use bitwise operator instead of logical one X-Git-Tag: MMI-PSA29.97-13-9~19249^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cddac88f437b0370d3c0ac4c0b2d6c1ff914522d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rts_pstor: use bitwise operator instead of logical one Looks like a typo. Signed-off-by: Nicolas Kaiser Reviewed-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor/sd.c index bddb0312b31e..cdae497d5467 100644 --- a/drivers/staging/rts_pstor/sd.c +++ b/drivers/staging/rts_pstor/sd.c @@ -2328,7 +2328,7 @@ Switch_Fail: retval = sd_send_cmd_get_rsp(chip, IO_SEND_OP_COND, 0, SD_RSP_TYPE_R4, rsp, 5); if (retval == STATUS_SUCCESS) { - int func_num = (rsp[1] >> 4) && 0x07; + int func_num = (rsp[1] >> 4) & 0x07; if (func_num) { RTSX_DEBUGP("SD_IO card (Function number: %d)!\n", func_num); chip->sd_io = 1;