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

Commit ed7c847a authored by Igor M. Liplianin's avatar Igor M. Liplianin Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: dm1105: connect splitted else-if statements

parent 8f50a3ee
Loading
Loading
Loading
Loading
+32 −34
Original line number Diff line number Diff line
@@ -346,8 +346,7 @@ static int dm1105_i2c_xfer(struct i2c_adapter *i2c_adap,
					goto err;
				msgs[i].buf[byte] = rc;
			}
		} else {
			if ((msgs[i].buf[0] == 0xf7) && (msgs[i].addr == 0x55)) {
		} else if ((msgs[i].buf[0] == 0xf7) && (msgs[i].addr == 0x55)) {
			/* prepaired for cx24116 firmware */
			/* Write in small blocks */
			len = msgs[i].len - 1;
@@ -392,7 +391,6 @@ static int dm1105_i2c_xfer(struct i2c_adapter *i2c_adap,
				return -1;
		}
	}
	}
	return num;
 err:
	return rc;