Commit 2e84eb9a authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

media: pulse8-cec: return 0 when invalidating the logical address



Return 0 when invalidating the logical address. The cec core produces
a warning for drivers that do this.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Reported-by: default avatarTorbjorn Jansson <torbjorn.jansson@mbox200.swipnet.se>
Signed-off-by: default avatarHans Verkuil <hansverk@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent ac791f19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -586,7 +586,7 @@ unlock:
	else
		pulse8->config_pending = true;
	mutex_unlock(&pulse8->config_lock);
	return err;
	return log_addr == CEC_LOG_ADDR_INVALID ? 0 : err;
}

static int pulse8_cec_adap_transmit(struct cec_adapter *adap, u8 attempts,