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

Commit 0bb04bf3 authored by William Douglas's avatar William Douglas Committed by Linus Torvalds
Browse files

mrst_max3110: Change max missing message priority.



Change print message to notice instead of error to clean up non critical
messages showing on startup.  The MAX3111 not being present is a normal
path for end user systems.

Signed-off-by: default avatarWilliam Douglas <william.douglas@intel.com>
[rebased on 3.0, switched to dev_dbg()]
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bccaeafd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -823,7 +823,7 @@ static int __devinit serial_m3110_probe(struct spi_device *spi)
	res = RC_TAG;
	res = RC_TAG;
	ret = max3110_write_then_read(max, (u8 *)&res, (u8 *)&res, 2, 0);
	ret = max3110_write_then_read(max, (u8 *)&res, (u8 *)&res, 2, 0);
	if (ret < 0 || res == 0 || res == 0xffff) {
	if (ret < 0 || res == 0 || res == 0xffff) {
		printk(KERN_ERR "MAX3111 deemed not present (conf reg %04x)",
		dev_dbg(&spi->dev, "MAX3111 deemed not present (conf reg %04x)",
									res);
									res);
		ret = -ENODEV;
		ret = -ENODEV;
		goto err_get_page;
		goto err_get_page;