From: Guenter Roeck Date: Thu, 21 Jun 2012 13:57:44 +0000 (-0700) Subject: Add missing break statement X-Git-Tag: nct6775-v0.9~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ece79fec3d24593d63c989e524d34d27d284886;p=groeck-nct6775 Add missing break statement Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index 85da428..a4d37ba 100644 --- 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);