]> git.sur5r.net Git - groeck-nct6775/commitdiff
Add missing break statement
authorGuenter Roeck <linux@roeck-us.net>
Thu, 21 Jun 2012 13:57:44 +0000 (06:57 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 21 Jun 2012 13:57:44 +0000 (06:57 -0700)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c

index 85da428a4cd606e248b96823299ebcea18dfea2c..a4d37ba299fcae727518a4b95aa8bac1f9155343 100644 (file)
--- a/nct6775.c
+++ b/nct6775.c
@@ -790,6 +790,7 @@ static void nct6775_write_fan_div(struct nct6775_data *data, int nr)
                reg = (nct6775_read_value(data, NCT6775_REG_FANDIV1) & 0x7)
                    | ((data->fan_div[1] << 4) & 0x70);
                nct6775_write_value(data, NCT6775_REG_FANDIV1, reg);
+               break;
        case 2:
                reg = (nct6775_read_value(data, NCT6775_REG_FANDIV2) & 0x70)
                    | (data->fan_div[2] & 0x7);