mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
watchdog: ziirave_wdt: Fix misleading error message
Fix misleading error message in ziirave_wdt_init_duration(). Saying "unable to set ..." implies that an attempt at communication with watchdog device has taken palce and was not successful. In this case, however, all it indicates is that no reset pulse duration was specified either via kernel parameter or Device Tree. Re-phase the log message to be more clear about benign nature of this event. Signed-off-by: Andrey Smirnov <[email protected]> Cc: Chris Healy <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Rick Ramstetter <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
d2ddc4505e
commit
d2c1d4258f
1 changed files with 1 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ static int ziirave_wdt_init_duration(struct i2c_client *client)
|
|||
&reset_duration);
|
||||
if (ret) {
|
||||
dev_info(&client->dev,
|
||||
"Unable to set reset pulse duration, using default\n");
|
||||
"No reset pulse duration specified, using default\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue