]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (f75375s) Fix bit shifting in f75375_write16
authorNikolaus Schulz <schulz@macnetix.de>
Wed, 8 Feb 2012 17:56:10 +0000 (18:56 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 9 Feb 2012 04:47:34 +0000 (20:47 -0800)
commiteb2f255b2d360df3f500042a2258dcf2fcbe89a2
treef8a69f2bf4420c608fedfa99af6f6dc083f35154
parenta367a1e08b21e995c7112ff32b5efc97d104d405
hwmon: (f75375s) Fix bit shifting in f75375_write16

In order to extract the high byte of the 16-bit word, shift the word to
the right, not to the left.

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
Cc: stable@kernel.org # 2.6.32+
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f75375s.c