]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Stephen Rothwell [Mon, 19 Sep 2011 06:34:12 +0000 (16:34 +1000)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Mon, 19 Sep 2011 06:32:53 +0000 (16:32 +1000)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Mon, 19 Sep 2011 06:31:26 +0000 (16:31 +1000)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Mon, 19 Sep 2011 06:30:45 +0000 (16:30 +1000)]
Merge remote-tracking branch 'agp/agp-next'
Stephen Rothwell [Mon, 19 Sep 2011 06:28:11 +0000 (16:28 +1000)]
Merge remote-tracking branch 'security/next'
Conflicts:
fs/ocfs2/xattr.c
Stephen Rothwell [Mon, 19 Sep 2011 06:26:51 +0000 (16:26 +1000)]
Merge remote-tracking branch 'voltage/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 06:25:29 +0000 (16:25 +1000)]
Merge remote-tracking branch 'omap_dss2/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 06:24:06 +0000 (16:24 +1000)]
Merge remote-tracking branch 'viafb/viafb-next'
Stephen Rothwell [Mon, 19 Sep 2011 06:22:47 +0000 (16:22 +1000)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Conflicts:
drivers/video/Kconfig
Stephen Rothwell [Mon, 19 Sep 2011 06:17:34 +0000 (16:17 +1000)]
Merge commit 'refs/next/
20110915 /mfd'
Conflicts:
drivers/rtc/rtc-twl.c
Stephen Rothwell [Mon, 19 Sep 2011 06:02:24 +0000 (16:02 +1000)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 05:56:11 +0000 (15:56 +1000)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 05:56:02 +0000 (15:56 +1000)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Mon, 19 Sep 2011 05:54:42 +0000 (15:54 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Mon, 19 Sep 2011 05:54:35 +0000 (15:54 +1000)]
Merge remote-tracking branch 'leds/for-mm'
Conflicts:
drivers/leds/Kconfig
Stephen Rothwell [Mon, 19 Sep 2011 05:52:49 +0000 (15:52 +1000)]
Merge remote-tracking branch 'battery/master'
Stephen Rothwell [Mon, 19 Sep 2011 05:51:18 +0000 (15:51 +1000)]
Merge branch 'quilt/device-mapper'
Stephen Rothwell [Mon, 19 Sep 2011 05:45:26 +0000 (15:45 +1000)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 05:43:43 +0000 (15:43 +1000)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Mon, 19 Sep 2011 05:42:13 +0000 (15:42 +1000)]
Merge branch 'quilt/rr'
Stephen Rothwell [Mon, 19 Sep 2011 05:40:57 +0000 (15:40 +1000)]
Merge remote-tracking branch 'cpufreq/next'
Stephen Rothwell [Mon, 19 Sep 2011 05:39:31 +0000 (15:39 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 05:37:38 +0000 (15:37 +1000)]
Merge remote-tracking branch 'sound/for-next'
Conflicts:
arch/mips/alchemy/devboards/db1x00/platform.c
sound/mips/Kconfig
Stephen Rothwell [Mon, 19 Sep 2011 05:19:02 +0000 (15:19 +1000)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Mon, 19 Sep 2011 05:17:44 +0000 (15:17 +1000)]
Merge remote-tracking branch 'l2-mtd/master'
Conflicts:
arch/arm/mach-at91/board-usb-a9260.c
Stephen Rothwell [Mon, 19 Sep 2011 05:15:56 +0000 (15:15 +1000)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Mon, 19 Sep 2011 05:14:20 +0000 (15:14 +1000)]
Merge remote-tracking branch 'wireless/master'
Conflicts:
drivers/net/wireless/iwlwifi/iwl-pci.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/wl12xx/main.c
Stephen Rothwell [Mon, 19 Sep 2011 04:49:29 +0000 (14:49 +1000)]
Merge remote-tracking branch 'net/master'
Conflicts:
MAINTAINERS
arch/powerpc/configs/40x/hcu4_defconfig
drivers/net/Kconfig
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/wireless/iwlwifi/iwl-pci.c
drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c
drivers/s390/cio/qdio_main.c
Stephen Rothwell [Mon, 19 Sep 2011 04:31:55 +0000 (14:31 +1000)]
Merge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Mon, 19 Sep 2011 04:29:50 +0000 (14:29 +1000)]
Merge remote-tracking branch 'scsi/master'
Stephen Rothwell [Mon, 19 Sep 2011 04:29:46 +0000 (14:29 +1000)]
Merge remote-tracking branch 'ibft/master'
Stephen Rothwell [Mon, 19 Sep 2011 04:29:40 +0000 (14:29 +1000)]
Merge remote-tracking branch 'swiotlb/master'
Stephen Rothwell [Mon, 19 Sep 2011 04:28:23 +0000 (14:28 +1000)]
Merge remote-tracking branch 'ieee1394/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:26:59 +0000 (14:26 +1000)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Mon, 19 Sep 2011 04:26:54 +0000 (14:26 +1000)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:25:30 +0000 (14:25 +1000)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:24:10 +0000 (14:24 +1000)]
Merge remote-tracking branch 'docs/docs-move'
Stephen Rothwell [Mon, 19 Sep 2011 04:22:57 +0000 (14:22 +1000)]
Merge branch 'quilt/kernel-doc'
Stephen Rothwell [Mon, 19 Sep 2011 04:21:37 +0000 (14:21 +1000)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:20:26 +0000 (14:20 +1000)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Mon, 19 Sep 2011 04:19:06 +0000 (14:19 +1000)]
Merge remote-tracking branch 'bjdooks-i2c/next-i2c'
Stephen Rothwell [Mon, 19 Sep 2011 04:17:55 +0000 (14:17 +1000)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Mon, 19 Sep 2011 04:16:35 +0000 (14:16 +1000)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:15:07 +0000 (14:15 +1000)]
Merge remote-tracking branch 'xfs/master'
Conflicts:
fs/xfs/xfs_aops.c
fs/xfs/xfs_super.c
Stephen Rothwell [Mon, 19 Sep 2011 04:13:55 +0000 (14:13 +1000)]
Merge remote-tracking branch 'v9fs/for-next'
Conflicts:
net/9p/trans_virtio.c
Stephen Rothwell [Mon, 19 Sep 2011 04:12:26 +0000 (14:12 +1000)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:06:30 +0000 (14:06 +1000)]
Merge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Mon, 19 Sep 2011 04:05:18 +0000 (14:05 +1000)]
Merge remote-tracking branch 'logfs/master'
Stephen Rothwell [Mon, 19 Sep 2011 04:04:04 +0000 (14:04 +1000)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Mon, 19 Sep 2011 04:02:46 +0000 (14:02 +1000)]
Merge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Mon, 19 Sep 2011 04:01:30 +0000 (14:01 +1000)]
Merge remote-tracking branch 'cifs/master'
Stephen Rothwell [Mon, 19 Sep 2011 04:00:16 +0000 (14:00 +1000)]
Merge remote-tracking branch 'ceph/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 03:59:05 +0000 (13:59 +1000)]
Merge remote-tracking branch 'xtensa/master'
Stephen Rothwell [Mon, 19 Sep 2011 03:57:54 +0000 (13:57 +1000)]
Merge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Mon, 19 Sep 2011 03:56:42 +0000 (13:56 +1000)]
Merge remote-tracking branch 'tile/master'
Stephen Rothwell [Mon, 19 Sep 2011 03:55:31 +0000 (13:55 +1000)]
Merge remote-tracking branch 'rmobile/rmobile-latest'
Stephen Rothwell [Mon, 19 Sep 2011 03:54:21 +0000 (13:54 +1000)]
Merge remote-tracking branch 'sh/sh-latest'
Stephen Rothwell [Mon, 19 Sep 2011 03:48:08 +0000 (13:48 +1000)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Mon, 19 Sep 2011 03:46:52 +0000 (13:46 +1000)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Mon, 19 Sep 2011 03:45:38 +0000 (13:45 +1000)]
Merge remote-tracking branch 'powerpc/next'
Stephen Rothwell [Mon, 19 Sep 2011 03:44:17 +0000 (13:44 +1000)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 19 Sep 2011 03:42:59 +0000 (13:42 +1000)]
Merge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 03:41:47 +0000 (13:41 +1000)]
Merge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 03:40:33 +0000 (13:40 +1000)]
Merge remote-tracking branch 'ia64/test'
Stephen Rothwell [Mon, 19 Sep 2011 03:39:17 +0000 (13:39 +1000)]
Merge branch 'quilt/hexagon'
Stephen Rothwell [Mon, 19 Sep 2011 03:38:00 +0000 (13:38 +1000)]
Merge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 03:36:49 +0000 (13:36 +1000)]
Merge remote-tracking branch 'blackfin/for-linus'
Stephen Rothwell [Mon, 19 Sep 2011 03:35:38 +0000 (13:35 +1000)]
Merge remote-tracking branch 'ux500-core/ux500-core'
Stephen Rothwell [Mon, 19 Sep 2011 03:34:24 +0000 (13:34 +1000)]
Merge remote-tracking branch 's5p/for-next'
Conflicts:
arch/arm/mach-exynos4/mach-smdkc210.c
Stephen Rothwell [Mon, 19 Sep 2011 02:37:25 +0000 (12:37 +1000)]
Merge remote-tracking branch 'i.MX/for-next'
Conflicts:
arch/arm/mach-imx/Makefile
Stephen Rothwell [Mon, 19 Sep 2011 02:37:18 +0000 (12:37 +1000)]
Merge remote-tracking branch 'at91/at91-next'
Stephen Rothwell [Mon, 19 Sep 2011 02:36:05 +0000 (12:36 +1000)]
Merge remote-tracking branch 'arm-soc/for-next'
Conflicts:
Documentation/devicetree/bindings/arm/l2cc.txt
arch/arm/include/asm/hardware/cache-l2x0.h
arch/arm/mach-at91/board-usb-a9260.c
arch/arm/mach-msm/board-msm8x60.c
arch/arm/mach-mxs/include/mach/gpio.h
arch/arm/mach-u300/Makefile.boot
arch/arm/mm/cache-l2x0.c
arch/arm/plat-mxc/include/mach/gpio.h
Stephen Rothwell [Mon, 19 Sep 2011 02:22:11 +0000 (12:22 +1000)]
Merge remote-tracking branch 'arm-lpae/for-next'
Conflicts:
arch/arm/include/asm/page.h
arch/arm/include/asm/pgalloc.h
arch/arm/include/asm/pgtable-hwdef.h
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/tlb.h
arch/arm/kernel/head.S
arch/arm/kernel/sleep.S
arch/arm/mm/dma-mapping.c
arch/arm/mm/mmu.c
Stephen Rothwell [Mon, 19 Sep 2011 02:20:54 +0000 (12:20 +1000)]
Merge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Mon, 19 Sep 2011 02:19:42 +0000 (12:19 +1000)]
Merge remote-tracking branch 'spi-current/spi/merge'
Stephen Rothwell [Mon, 19 Sep 2011 02:19:30 +0000 (12:19 +1000)]
Merge remote-tracking branch 'wireless-current/master'
Stephen Rothwell [Mon, 19 Sep 2011 02:19:29 +0000 (12:19 +1000)]
Merge remote-tracking branch 'pci-current/for-linus'
David Daney [Sat, 17 Sep 2011 01:06:02 +0000 (18:06 -0700)]
MIPS: No branches in delay slots for huge pages in handle_tlbl
For the case PM_DEFAULT_MASK == 0, we were placing a branch in the
delay slot of another branch. This leads to undefined behavior.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2775/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Tetsuo Handa [Fri, 16 Sep 2011 13:54:25 +0000 (22:54 +0900)]
TOMOYO: Allow specifying domain transition preference.
I got an opinion that it is difficult to use exception policy's domain
transition control directives because they need to match the pathname specified
to "file execute" directives. For example, if "file execute /bin/\*\-ls\-cat"
is given, corresponding domain transition control directive needs to be like
"no_keep_domain /bin/\*\-ls\-cat from any".
If we can specify like below, it will become more convenient.
file execute /bin/ls keep exec.realpath="/bin/ls" exec.argv[0]="ls"
file execute /bin/cat keep exec.realpath="/bin/cat" exec.argv[0]="cat"
file execute /bin/\*\-ls\-cat child
file execute /usr/sbin/httpd <apache> exec.realpath="/usr/sbin/httpd" exec.argv[0]="/usr/sbin/httpd"
In above examples, "keep" works as if keep_domain is specified, "child" works
as if "no_reset_domain" and "no_initialize_domain" and "no_keep_domain" are
specified, "<apache>" causes domain transition to <apache> domain upon
successful execve() operation.
Moreover, we can also allow transition to different domains based on conditions
like below example.
<kernel> /usr/sbin/sshd
file execute /bin/bash <kernel> /usr/sbin/sshd //batch-session exec.argc=2 exec.argv[1]="-c"
file execute /bin/bash <kernel> /usr/sbin/sshd //root-session task.uid=0
file execute /bin/bash <kernel> /usr/sbin/sshd //nonroot-session task.uid!=0
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Steve French [Sun, 18 Sep 2011 22:51:19 +0000 (17:51 -0500)]
Merge branch 'master' of /home/stevef/cifs-2.6
Timur Tabi [Thu, 15 Sep 2011 21:44:58 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: remove unusued MEM_ALLOC_THRESHOLD
If there was ever any code that used MEM_ALLOC_THRESHOLD, it was removed a
long time ago.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:57 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: the video buffer is not I/O memory
The video buffer is not uncached memory-mapped I/O, so don't tag the virtual
address as __iomem. It's also not a u8*.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:56 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: use a normal for-loop to uninstall framebuffers
Uninstalling the framebuffers in reverse order is unnecessary and makes
the for-loop awkward.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:55 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: fix memory leak on error
We were forgetting to unmap the video memory if fsl_diu_check_var() fails.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:54 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: fix potential memcpy buffer overflow bug
It makes no sense to limit the size of a strncpy() to the length of
the source string.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:53 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: set the driver name to "fsl-diu-fb"
Use the name "fsl-diu-fb" in the Freescale DIU framebuffer driver
during registrations.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:52 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: improve local variable usage in some functions
Clean up the local variable usage in request_irq_local() and allocate_buf().
This streamlines the code without affecting functionality.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:51 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: remove redundant default video mode
The framebuffer layer already uses the first video mode defined in the
fb_videomode array as a default, so there's no need to duplicate the
first entry into a stand-alone structure.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:50 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: improve device tree usage
Implement various improvements to the way the Freescale DIU framebuffer
driver access the device tree.
1) Use of_iomap() instead of of_address_to_resource() and ioremap()
2) Use be32_to_cpup() instead of directly dereferencing the device_node
pointer.
3) Rename variable 'ofdev' to 'pdev' to avoid any confusion that it's
a platform_device pointer, not an of_device pointer (of_device no
longer exists).
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:49 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: fix compilation warning
Fix this compilation warning in the Freescale DIU framebuffer driver:
warning: 'dummy_ad_addr' may be used uninitialized in this function
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:48 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: remove unused ioctls
Remove some unused ioctl commands, and treat those commands as unsupported
instead of ignored.
Also remove struct mfb_alpha, which isn't used by any ioctl. It may have
been once intended for MFB_SET_ALPHA, but that ioctl uses a different
data structure.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:47 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: clean up printk usage
Remove debug printk messages (they don't help in debugging), replace
printk(KERN_xxx with its pr_xxx or dev_xxx equivalent, and add a couple
missing error messages.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Timur Tabi [Thu, 15 Sep 2011 21:44:46 +0000 (16:44 -0500)]
drivers/video: fsl-diu-fb: clean up whitespace and formatting
Fix various indentation and line length problems in the Freescale
DIU framebuffer driver.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Linus Torvalds [Sun, 18 Sep 2011 18:02:26 +0000 (11:02 -0700)]
Merge git://github.com/davem330/net
* git://github.com/davem330/net: (62 commits)
ipv6: don't use inetpeer to store metrics for routes.
can: ti_hecc: include linux/io.h
IRDA: Fix global type conflicts in net/irda/irsysctl.c v2
net: Handle different key sizes between address families in flow cache
net: Align AF-specific flowi structs to long
ipv4: Fix fib_info->fib_metrics leak
caif: fix a potential NULL dereference
sctp: deal with multiple COOKIE_ECHO chunks
ibmveth: Fix checksum offload failure handling
ibmveth: Checksum offload is always disabled
ibmveth: Fix issue with DMA mapping failure
ibmveth: Fix DMA unmap error
pch_gbe: support ML7831 IOH
pch_gbe: added the process of FIFO over run error
pch_gbe: fixed the issue which receives an unnecessary packet.
sfc: Use 64-bit writes for TX push where possible
Revert "sfc: Use write-combining to reduce TX latency" and follow-ups
bnx2x: Fix ethtool advertisement
bnx2x: Fix 578xx link LED
bnx2x: Fix XMAC loopback test
...
Hans de Goede [Fri, 9 Sep 2011 10:12:35 +0000 (12:12 +0200)]
hwmon/f71882fg: Make the decision wether to register fan attr. per fan
Before this patch the f71882fg driver completely fails to initialize
on systems which have reserved settings in the pwm enable register, and
it disables all auto pwm sysfs attributes if any fan is controlled by
a digital sensor reading.
This patch changes the fail to initialize into don't register any attributes
for the fan for which there are reserved settings in the pwm enable register
and also makes the not registering of auto pwm sysfs attributes a per fan
thing.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Hans de Goede [Fri, 9 Sep 2011 10:12:34 +0000 (12:12 +0200)]
hwmon/f71882fg: Add a f71882fg_create_fan_sysfs_files helper function
This is a preparation patch for not registering fan/pwm attributes for
some fans (rather then register them for all or for none).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Hans de Goede [Fri, 9 Sep 2011 10:12:33 +0000 (12:12 +0200)]
hwmon/f71882fg: Make all fan/pwm attr tables 2 dimensional
This is a preparation patch for not registering fan/pwm attributes for
some fans (rather then register them for all or for none).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Guenter Roeck [Sat, 30 Jul 2011 05:21:53 +0000 (22:21 -0700)]
hwmon: (pmbus) Add support for Intersil power management chips
Add support for Intersil / Zilker Labs ZL2004, ZL2006, ZL2008, ZL2105, ZL2106,
ZL6100, and ZL6105.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Guenter Roeck [Sat, 30 Jul 2011 05:19:39 +0000 (22:19 -0700)]
hwmon: (pmbus) Always call _pmbus_read_byte in core driver
Always call _pmbus_read_byte() instead of pmbus_read_byte() in PMBus core
driver. With this change, device specific read functions can be implemented for
all registers.
Since the device specific read_byte function is now always called, we need to be
more careful with page validations. Only fail if the passed page number is larger
than 0, since -1 means "current page".
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Guenter Roeck [Thu, 1 Sep 2011 15:34:31 +0000 (08:34 -0700)]
hwmon: (pmbus) Replace EINVAL return codes with more appropriate errors
EINVAL was over-used in the code. Replace it with more appropriate errors.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>