mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
hwmon/coretemp: fix a broken error path
Signed-off-by: Jean Delvare <[email protected]> Cc: Rudolf Marek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
bbf14513ff
commit
6d79af701d
1 changed files with 1 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ static int __devinit coretemp_probe(struct platform_device *pdev)
|
|||
/* check for microcode update */
|
||||
rdmsr_on_cpu(data->id, MSR_IA32_UCODE_REV, &eax, &edx);
|
||||
if (edx < 0x39) {
|
||||
err = -ENODEV;
|
||||
dev_err(&pdev->dev,
|
||||
"Errata AE18 not fixed, update BIOS or "
|
||||
"microcode of the CPU!\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue