Pass module name to regmap in order to silence lockdep recursive deadlock warning. Lockdep validator groups mutexes per mutex name by default. Due to that tuner and demod regmap mutexes were seen as a single mutex. Tuner register access causes demod register access, because of I2C mux/repeater and that is seen as a recursive locking - even those locks are different instances (tuner vs. demod). Defining name for mutex allows lockdep to separate mutexes and error is not shown. Signed-off-by: Antti Palosaari <crope@xxxxxx> --- drivers/media/dvb-frontends/rtl2832.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c index f44dc50..f41bbd0 100644 --- a/drivers/media/dvb-frontends/rtl2832.c +++ b/drivers/media/dvb-frontends/rtl2832.c @@ -1187,6 +1187,7 @@ static int rtl2832_probe(struct i2c_client *client, }, }; static const struct regmap_config regmap_config = { + .name = KBUILD_MODNAME, .reg_bits = 8, .val_bits = 8, .volatile_reg = rtl2832_volatile_reg, -- http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html