aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-03GPIO: glamo: Minor cleanupLars-Peter Clausen
2010-07-03glamo-mci: add a "nonremovable" field to glamo_mmc_platform_dataThibaut Girka
On the FR, the µSD can't be removed without removing the battery first. So, we can safely assume that the µSD is not removable. This patch make the MMC subsystem know that the card isn't removable if the new "nonremovable" field in the platform data is true. This affects, amongst other things, the suspend/resume process, the default behaviour being to remove the card (after syncind any mounted FS) on suspend, and re-detect it on resume, to prevent errors when removing the card while the device is suspended.
2010-07-03glamo-core: use debugfs instead of sysfs for the 'regs' nodeThibaut Girka
Use debugfs, which is better-suited than sysfs for the 'regs' node. Also change the expected format from decimal to hexadecimal numbers.
2010-07-03glamo-mci: enable irq line sooner to fix resumeThibaut Girka
mmc_resume_host may send commands to the MMC host, so, the IRQ line have to be re-enabled before the mmc_resume_host call. Otherwise, the call may hang, preventing the device from fully waking up.
2010-07-03glamo: rename glamo-fb.c/reg_* by glamofb_reg_* ; same for ↵Thibaut Girka
glamo-mci.c/glamo_reg_*
2010-07-03glamo-core: get rid of unused glamo_reg_{read, write}_batchThibaut Girka
2010-07-03glamo-core: initialize engine states as disabledThibaut Girka
This should fix random init failures such as white screen on boot.
2010-07-03glamo-core: fix registers in init scriptThibaut Girka
2010-07-03glamo-core: only disable non-disabled engines on suspendThibaut Girka
2010-06-23glamofb: Drop unsued core field from glamo_fb_platform_dataLars-Peter Clausen
2010-06-23glamo-fb: Drop unused exportsLars-Peter Clausen
glamo_cmd_mode is only used in glamofb.c and glamo_cmd_write is not used at all.
2010-06-23glamo-fb: Code style cleanupsLars-Peter Clausen
2010-06-23glamo-fb: Remove nops in reg_{read,write}Lars-Peter Clausen
2010-06-23commit b90406de472c1aa5371ab593a2bb79136d5de658Thomas White
Author: Thomas White <taw@bitwiz.org.uk> Date: Thu Nov 26 11:55:33 2009 +0300 Subject: mfd: glamo: Enable FIFO stage for the LCD engine's memory access By avoiding conflicts of memory access inside Glamo, this doubles the speed of internal memory access. Signed-off-by: Thomas White <taw@bitwiz.org.uk> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2010-06-23Fix crash when reading Glamo registers via sysfsThomas White
glamo-core didn't ioremap() some areas, so don't try to read them. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-06-23glamo-gpio: fix Kconfig help textThibaut Girka
2010-06-23glamo: Move subdrivers to appropriate directoriesThibaut Girka
Instead of staying in drivers/mfd/glamo, the glamo subdrivers have been moved to the appropriate directories. Additionally, config options were renamed as follows: * MFD_GLAMO stays the same * MFD_GLAMO_MCI becomes MMC_GLAMO * MFD_GLAMO_GPIO becomes GPIO_GLAMO * MFD_GLAMO_FB becomes FB_GLAMO
2010-06-23glamo-fb: unmap/free everything mapped/allocatedThibaut Girka
2010-06-23glamo: style/indentation fixesThibaut Girka
2010-06-23glamo-core: drop unused attribute irq_works (forgot to commit header file)Thibaut Girka
2010-06-19glamo-core: drop unused attribute irq_worksThibaut Girka
2010-06-19glamo: fix two bitmask issuesThibaut Girka
2010-06-19glamo-mci: eliminate some duplicated code in glamo_mci_read_workerThibaut Girka
2010-06-19glamo-mci: Make the read_worker work in its own threadThibaut Girka
2010-06-19glamo: fixed some style/indentation issuesThibaut Girka
2010-06-19glamo-mci: free irq after removing host, not beforeThibaut Girka
2010-06-19glamo-mci: safer probeThibaut Girka
Calls mmc_host_disable instead of mmc_host_lazy_disable if an error occurs, thus avoiding to schedule a delayed work that would end up using free'd objects.
2010-06-19glamo-mci: Make use of mmc_host_enable/disable instead of custom timer.Thibaut Girka
A custom timer was used to suspend the mmc host when idle. MMC core now provides a generic way to do that.
2010-06-10glamo-mci: drop unused IRQ polling codeThibaut Girka
host->irq_works is always true, so, the IRQ polling function in glamo-mci.c never gets called. Furthermore, according to Lars, it was only here for very early prototypes of the glamo chip. So, there should be no issue in dropping it.
2010-06-09glamo-mci: Use threaded irqsThibaut Girka
2010-06-06glamo: Add MODULE_ALIAS for the glamo-fb and glamo-mci driverLars-Peter Clausen
This allows the modules to be auto-loaded by udev. Patch from ThibG.
2010-05-18Add glamo driver.Lars-Peter Clausen
2010-05-16Linus 2.6.34Linus Torvalds
2010-05-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: rtnetlink: make SR-IOV VF interface symmetric sctp: delete active ICMP proto unreachable timer when free transport tcp: fix MD5 (RFC2385) support
2010-05-16Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: MIPS: Oprofile: Fix Loongson irq handler MIPS: N32: Use compat version for sys_ppoll. MIPS FPU emulator: allow Cause bits of FCSR to be writeable by ctc1
2010-05-16rtnetlink: make SR-IOV VF interface symmetricChris Wright
Now we have a set of nested attributes: IFLA_VFINFO_LIST (NESTED) IFLA_VF_INFO (NESTED) IFLA_VF_MAC IFLA_VF_VLAN IFLA_VF_TX_RATE This allows a single set to operate on multiple attributes if desired. Among other things, it means a dump can be replayed to set state. The current interface has yet to be released, so this seems like something to consider for 2.6.34. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-16sctp: delete active ICMP proto unreachable timer when free transportWei Yongjun
transport may be free before ICMP proto unreachable timer expire, so we should delete active ICMP proto unreachable timer when transport is going away. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-16tcp: fix MD5 (RFC2385) supportEric Dumazet
TCP MD5 support uses percpu data for temporary storage. It currently disables preemption so that same storage cannot be reclaimed by another thread on same cpu. We also have to make sure a softirq handler wont try to use also same context. Various bug reports demonstrated corruptions. Fix is to disable preemption and BH. Reported-by: Bhaskar Dutta <bhaskie@gmail.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-15 MIPS: Oprofile: Fix Loongson irq handlerWu Zhangjin
The interrupt enable bit for the performance counters is in the Control Register $24, not in the counter register. loongson2_perfcount_handler(), we need to use Reported-by: Xu Hengyang <hengyang@mail.ustc.edu.cn> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1198/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
2010-05-15 MIPS: N32: Use compat version for sys_ppoll.Chandrakala Chavva
The sys_ppoll() takes struct 'struct timespec'. This is different for the N32 and N64 ABIs. Use the compat version to do the proper conversions. Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1210/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
2010-05-15 MIPS FPU emulator: allow Cause bits of FCSR to be writeable by ctc1Shane McDonald
In the FPU emulator code of the MIPS, the Cause bits of the FCSR register are not currently writeable by the ctc1 instruction. In odd corner cases, this can cause problems. For example, a case existed where a divide-by-zero exception was generated by the FPU, and the signal handler attempted to restore the FPU registers to their state before the exception occurred. In this particular setup, writing the old value to the FCSR register would cause another divide-by-zero exception to occur immediately. The solution is to change the ctc1 instruction emulator code to allow the Cause bits of the FCSR register to be writeable. This is the behaviour of the hardware that the code is emulating. This problem was found by Shane McDonald, but the credit for the fix goes to Kevin Kissell. In Kevin's words: I submit that the bug is indeed in that ctc_op: case of the emulator. The Cause bits (17:12) are supposed to be writable by that instruction, but the CTC1 emulation won't let them be updated by the instruction. I think that actually if you just completely removed lines 387-388 [...] things would work a good deal better. At least, it would be a more accurate emulation of the architecturally defined FPU. If I wanted to be really, really pedantic (which I sometimes do), I'd also protect the reserved bits that aren't necessarily writable. Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com> To: anemo@mba.ocn.ne.jp To: kevink@paralogos.com To: sshtylyov@mvista.com Patchwork: http://patchwork.linux-mips.org/patch/1205/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
2010-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstableLinus Torvalds
* git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: Btrfs: check for read permission on src file in the clone ioctl
2010-05-15lib/btree: fix possible NULL pointer dereferencekirjanov@gmail.com
mempool_alloc() can return null in atomic case. Signed-off-by: Denis Kirjanov <kirjanov@gmail.com> Cc: Joern Engel <joern@logfs.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-15mmc: at91_mci: modify cache flush routinesNicolas Ferre
As we were using an internal dma flushing routine, this patch changes to the DMA API flush_kernel_dcache_page(). Driver is able to compile now. [akpm@linux-foundation.org: flush_kernel_dcache_page() comes before kunmap_atomic()] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-15Btrfs: check for read permission on src file in the clone ioctlDan Rosenberg
The existing code would have allowed you to clone a file that was only open for writing Signed-off-by: Chris Mason <chris.mason@oracle.com>
2010-05-15Merge branch 'for-linus' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: JFS: Free sbi memory in error path fs/sysv: dereferencing ERR_PTR() Fix double-free in logfs Fix the regression created by "set S_DEAD on unlink()..." commit
2010-05-15Merge branch 'perf-fixes-for-linus' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf record: Add a fallback to the reference relocation symbol
2010-05-15JFS: Free sbi memory in error pathJan Blunck
I spotted the missing kfree() while removing the BKL. [akpm@linux-foundation.org: avoid multiple returns so it doesn't happen again] Signed-off-by: Jan Blunck <jblunck@suse.de> Cc: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-05-15fs/sysv: dereferencing ERR_PTR()Dan Carpenter
I moved the dir_put_page() inside the if condition so we don't dereference "page", if it's an ERR_PTR(). Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-05-15Fix double-free in logfsAl Viro
iput() is needed *until* we'd done successful d_alloc_root() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>