24 Jun, 2013
2 commits
-
When building a kernel without CONFIG_PM, we get a link
error from referencing mxs_pm_init in the machine
descriptor. This defines a macro to NULL for that case.Signed-off-by: Arnd Bergmann
Acked-by: Shawn Guo -
Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND,
as shown by this linker error:drivers/built-in.o: In function `calxeda_pwrdown_idle':
drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend'
drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume'Signed-off-by: Arnd Bergmann
Acked-by: Rafael J. Wysocki
Acked-by: Rob Herring
Acked-by: Daniel Lezcano
Cc: linux-pm@vger.kernel.org
20 Jun, 2013
3 commits
-
…t/kgene/linux-samsung into next/fixes-non-critical
From Kukjin Kim:
update MAINTAINER
- Add exynos filename match to ARM/S5P EXYNOS ARM ARCHITECTURES* tag 'non-critical-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
MAINTAINERS: Add exynos filename match to ARM/S5P EXYNOS ARM ARCHITECTURESSigned-off-by: Arnd Bergmann <arnd@arndb.de>
-
From Nicolas Ferre:
Two non critical fixes that can go in 3.11.
* tag 'at91-fixes' of git://github.com/at91linux/linux-at91:
ARM: at91: Change the internal SRAM memory type MT_MEMORY_NONCACHED
ARM: at91: Fix link breakage when !CONFIG_PHYLIBSigned-off-by: Arnd Bergmann
-
I got a build error today that made me realize that it is not
possible to build a kernel for a SiRF platform without enabling
CONFIG_PRIMA2, since a lot of common code depends on CONFIG_PRIMA2.This fixes all occurences that appear like common SiRF code.
Signed-off-by: Arnd Bergmann
Acked-by: Wolfram Sang
Acked-by: Mark Brown
Acked-by: Greg Kroah-Hartman
Acked-by: Barry Song
Acked-by: Mike Turquette
19 Jun, 2013
5 commits
-
The CLOCKSOURCE_OF_DECLARE functions now take a device_node pointer
as their argument, as of the clksrc/cleanup branch in arm-soc.
This patch adapts the bcm_kona_timer driver to the new interface.Signed-off-by: Arnd Bergmann
Acked-by: Christian Daudt
Cc: John Stultz -
When building a kernel using 'make -s', I expect to see an empty output,
except for build warnings and errors. The build_OID_registry code
always prints one line when run, which is not helpful to most people
building the kernels, and which makes it harder to automatically
check for build warnings.Let's just remove the one line output.
Signed-off-by: Arnd Bergmann
Cc: David Howells
Cc: Rusty Russell -
The omap2 nand device driver calls into the the elm code, which can
be a loadable module, and in that case it cannot be built-in itself.
I can see no reason why the omap2 driver cannot also be a module,
so let's make the option "tristate" in Kconfig to fix this allmodconfig
build error:ERROR: "elm_config" [drivers/mtd/nand/omap2.ko] undefined!
ERROR: "elm_decode_bch_error_page" [drivers/mtd/nand/omap2.ko] undefined!Signed-off-by: Arnd Bergmann
Acked-by: Tony Lindgren
Cc: David Woodhouse
Cc: Artem Bityutskiy
Cc: Afzal Mohammed
Cc: Russell King
Cc: linux-mtd@lists.infradead.org -
ARM cannot handle udelay for more than 2 miliseconds, so we
should use mdelay instead for those.Signed-off-by: Arnd Bergmann
Acked-by: GOTO Masanori
Cc: YOKOTA Hiroshi
Cc: "James E.J. Bottomley"
Cc: linux-scsi@vger.kernel.org -
The MODULE_LICENSE macro invocation must use either "GPL" or "GPL v2",
but not "GPLv2" in order to be detected by the module loader.This fixes the allmodconfig build error:
FATAL: modpost: GPL-incompatible module bcm2835-rng.ko uses GPL-only symbol 'platform_driver_unregister'
Signed-off-by: Arnd Bergmann
Acked-by: Lubomir Rintel
Cc: Dom Cobley
Cc: Stephen Warren
Cc: Matt Mackall
Cc: linux-rpi-kernel@lists.infradead.org
Cc: Herbert Xu
18 Jun, 2013
4 commits
-
Because MT_DEVICE is not executable in armv7, we change
the internal SRAM memory type to MT_MEMORY_NONCACHED.
As it seems that caching this internal SRAM memory is not necessary,
we chose the this memory type.Signed-off-by: Wenyou Yang
Signed-off-by: Nicolas Ferre -
Fixes:
arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup':
:(.text+0x1174): undefined reference to `mdiobus_write'
:(.text+0x1188): undefined reference to `mdiobus_write'
:(.text+0x119c): undefined reference to `mdiobus_write'
:(.text+0x11b0): undefined reference to `mdiobus_write'
arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init':
:(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid'when CONFIG_PHYLIB is not selected.
Signed-off-by: Alexandre Belloni
Acked-by: Arnd Bergmann
Signed-off-by: Nicolas Ferre -
This will help direct patches related to exynos to the
linux-samsung-soc mailing list for discussion.Suggested by Joe Perches.
Signed-off-by: Doug Anderson
Signed-off-by: Kukjin Kim -
I got an account "baohua" from kernel.org and I'll use this tree
to maintain CSR SoCs stuff:
git://git.kernel.org/pub/scm/linux/kernel/git/baohua/linux.gitSigned-off-by: Barry Song
Signed-off-by: Olof Johansson
15 Jun, 2013
3 commits
-
…vidb/linux-msm into next/fixes-non-critical
From David Brown:
Some minor fixes for MSM for 3.11I don't expect these to be necessary for stable, since the fixes are
to recently added code. The strncpy fix is only in debug code that
isn't normally compiled or used (and is being removed in upcoming
patches).* tag 'msm-fix-for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm:
gpio: msm-v1: Remove errant __devinit to fix compile
mfd: ssbi: Add MODULE_DEVICE_TABLE
ARM: dts: msm: Fix bad register addresses
arch: arm: mach-msm: using strlcpy instead of strncpySigned-off-by: Olof Johansson <olof@lixom.net>
-
…/git/nsekhar/linux-davinci into next/fixes-non-critical
From Sekhar Nori:
This pull request contains a trival change
to drop a stale maintainer name and address.* tag 'davinci-for-v3.11/board' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
ARM: davinci: remove stale SFFSDR maintainer nameSigned-off-by: Olof Johansson <olof@lixom.net>
-
…/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical
From Tony Lindgren:
Non-critical fixes for omaps for v3.11 merge window.* tag 'omap-for-v3.11/fixes-non-critical-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: omap-usb-host: Fix memory leaks
ARM: OMAP2+: Fix serial init for device tree based booting
arm/omap: use const char properly
ARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup fails
ARM: OMAP2+: devices: Do not print error when DMIC hwmod lookup fails
ARM: OMAP2+: devices: Do not print error when McPDM hwmod lookup fails
ARM: OMAP: add vdds_sdi supply for omapdss_sdi.0
ARM: OMAP: add vdds_dsi supply for omapdss_dpi.0
ARM: OMAP: fix dsi regulator names
+ Linux 3.10-rc5Signed-off-by: Olof Johansson <olof@lixom.net>
13 Jun, 2013
5 commits
-
The maintainer entry for SFFSDR board contained in the
board file is stale (not working). Remove it.Signed-off-by: Hugo Villeneuve
Signed-off-by: Sekhar Nori -
Commit 7bce696 (gpio: Make gpio-msm-v1 into a platform driver,
2013-03-04) was based on an older kernel where __devinit still
existed. Remove the erroneous __devinit marking.Cc: David Brown
Signed-off-by: Stephen Boyd
Signed-off-by: David Brown -
This allows the ssbi module to be autoloaded on boot.
Cc: David Brown
Signed-off-by: Stephen Boyd
Signed-off-by: David Brown -
Fix memory leaks in the error path.
Also, use platform_device_register_full() to allocate
the platform devices and set platform data.Signed-off-by: Roger Quadros
Signed-off-by: Tony Lindgren -
We don't want to call omap_serial_early_init() for device
tree based booting as the ports are initialized based on
the .dts entries.Reviewed-by: Kevin Hilman
Signed-off-by: Tony Lindgren
12 Jun, 2013
8 commits
-
The itention was probably to make both pointers const but as it is now,
it is just const used twice.Signed-off-by: Sebastian Andrzej Siewior
Signed-off-by: Tony Lindgren -
The dss_hdmi hwmod is used to create the HDMI audio device for OMAP4+
When we boot the kernel we can silently ignore the failure since the IP
does not exist on them.Reported-by: Paul Walmsley
Signed-off-by: Peter Ujfalusi
Signed-off-by: Tony Lindgren -
It means that the SoC does not have DMIC IP.
Reported-by: Paul Walmsley
Signed-off-by: Peter Ujfalusi
Signed-off-by: Tony Lindgren -
It means that the SoC does not have McPDM IP.
Reported-by: Paul Walmsley
Signed-off-by: Peter Ujfalusi
Signed-off-by: Tony Lindgren -
SDI driver gets currently the vdds_sdi regulator via omapdss device.
This is not correct, and we'll change the SDI driver to get the
regulator directly via omapdss_sdi.0 device.This patch changes the rx51 board file to add vdds_dsi supply for
omapdss_sdi.0 device.Note that the vdds_sdi supply for omapdss device is still left there, as
the current display driver uses it. When both the board files and the
display driver has been changed, we can remove the unused supply.Signed-off-by: Tomi Valkeinen
Signed-off-by: Tony Lindgren -
DPI driver gets currently the vdds_dsi regulator via omapdss device.
This is not correct, and we'll change the DPI driver to get the
regulator directly via omapdss_dpi.0 device.This patch changes the relevant board files to add vdds_dsi supply for
omapdss_dpi.0 device.Note that the vdds_dsi supply for omapdss device is still left there, as
the current display driver uses it. When both the board files and the
display driver has been changed, we can remove the unused supply.Signed-off-by: Tomi Valkeinen
Signed-off-by: Tony Lindgren -
board-cm-t35.c and board-ldp.c contain regulator supply entries for
vdds_dsi. However, the given device name is wrong.This patch fixes the device name from omapdss_dsi1 to omapdss_dsi.0.
Note that as far as I know, DSI driver is not used on these boards, so
this should not have caused any problems. The DSI block can be used to
generate clock for DPI, though, but that's not enabled for omap3 boards
currently.Signed-off-by: Tomi Valkeinen
Signed-off-by: Tony Lindgren
11 Jun, 2013
1 commit
-
…linux/kernel/git/horms/renesas into next/fixes-non-critical
From Simon Horman:
Update for Renesas INTC External IRQ pin driver for v3.11- Correct error handing in irqc_probe
- Add irqchip_init dummy function* tag 'renesas-intc-external-irq-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
irqchip: Add irqchip_init dummy function
irqchip: renesas-irqc: Fix irqc_probe error handling
09 Jun, 2013
9 commits
-
…rfprima2-kernel into next/fixes-non-critical
From Barry Song, SiRF fixes for v3.10 (that we're punting to 3.11):
- Replace include linux/module.h with linux/export.h
- fix a checkpatch issue
- use of_platform_populate instead of of_platform_bus_probe* tag 'sirf-arm-soc-v3.10-fixes' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel:
arm: prima2: use of_platform_populate instead of of_platform_bus_probe
ARM: prima2: fix a checkpatch issue
ARM: prima2: Replace include linux/module.h with linux/export.h
+ Linux 3.10-rc4Signed-off-by: Olof Johansson <olof@lixom.net>
-
This patch fixes warnings due to missing lock on write error path.
WARNING: at fs/hpfs/hpfs_fn.h:353 hpfs_truncate+0x75/0x80 [hpfs]()
Hardware name: empty
Pid: 26563, comm: dd Tainted: P O 3.9.4 #12
Call Trace:
hpfs_truncate+0x75/0x80 [hpfs]
hpfs_write_begin+0x84/0x90 [hpfs]
_hpfs_bmap+0x10/0x10 [hpfs]
generic_file_buffered_write+0x121/0x2c0
__generic_file_aio_write+0x1c7/0x3f0
generic_file_aio_write+0x7c/0x100
do_sync_write+0x98/0xd0
hpfs_file_write+0xd/0x50 [hpfs]
vfs_write+0xa2/0x160
sys_write+0x51/0xa0
page_fault+0x22/0x30
system_call_fastpath+0x1a/0x1fSigned-off-by: Mikulas Patocka
Cc: stable@kernel.org # 2.6.39+
Signed-off-by: Linus Torvalds -
Pull timer fixes from Thomas Gleixner:
- Trivial: unused variable removal
- Posix-timers: Add the clock ID to the new proc interface to make it
useful. The interface is new and should be functional when we reach
the final 3.10 release.- Cure a false positive warning in the tick code introduced by the
overhaul in 3.10- Fix for a persistent clock detection regression introduced in this
cycle* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
timekeeping: Correct run-time detection of persistent_clock.
ntp: Remove unused variable flags in __hardpps
posix-timers: Show clock ID in proc file
tick: Cure broadcast false positive pending bit warning -
Pull irqdomain bug fixes from Grant Likely:
"This branch contains a set of straight forward bug fixes to the
irqdomain code and to a couple of drivers that make use of it."* tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux:
irqchip: Return -EPERM for reserved IRQs
irqdomain: document the simple domain first_irq
kernel/irq/irqdomain.c: before use 'irq_data', need check it whether valid.
irqdomain: export irq_domain_add_simple -
The irqdomain core will report a log message for any attempted map call
that fails unless the error code is -EPERM. This patch changes the
Versatile irq controller drivers to use -EPERM because it is normal for
a subset of the IRQ inputs to be marked as reserved on the various
Versatile platforms.Signed-off-by: Grant Likely
-
The first_irq needs to be zero to get a linear domain and that
comes with special semantics. We want to simplify this going
forward but some documentation never hurts.Signed-off-by: Linus Walleij
Signed-off-by: Grant Likely -
Since irq_data may be NULL, if so, we WARN_ON(), and continue, 'hwirq'
which related with 'irq_data' has to initialize later, or it will cause
issue.Signed-off-by: Chen Gang
Signed-off-by: Grant Likely -
All other irq_domain_add_* functions are exported already, and apparently
this one got left out by mistake, which causes build errors for ARM
allmodconfig kernels:ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-rcar.ko] undefined!
ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-em.ko] undefined!Signed-off-by: Arnd Bergmann
Acked-by: Simon Horman
Signed-off-by: Grant Likely