1. 25 7月, 2011 1 次提交
    • T
      pch_dma: Fix CTL register access issue · 0b052f4a
      Tomoya MORINAGA 提交于
      Currently, Mode-Control register is accessed by read-modify-write.
      
      According to DMA hardware specifications datasheet, prohibits this method.
      Because this register resets to 0 by DMA HW after DMA transfer completes.
      Thus, current read-modify-write processing can cause unexpected behavior.
      
      The datasheet says in case of writing Mode-Control register, set the value for only target channel, the others must set '11b'.
      e.g. Set DMA0=01b  DMA11=10b
      CTL0=33333331h
      CTL2=00002333h
      
      NOTE:
      CTL0 includes DMA0~7 Mode-Control register.
      CTL2 includes DMA8~11 Mode-Control register.
      
      This patch modifies the issue.
      Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      0b052f4a
  2. 14 7月, 2011 10 次提交
  3. 24 6月, 2011 1 次提交
  4. 16 6月, 2011 1 次提交
  5. 10 6月, 2011 1 次提交
  6. 09 6月, 2011 7 次提交
  7. 06 6月, 2011 12 次提交
  8. 05 6月, 2011 4 次提交
  9. 04 6月, 2011 3 次提交
    • L
      23c79d31
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 0e833d8c
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (40 commits)
        tg3: Fix tg3_skb_error_unmap()
        net: tracepoint of net_dev_xmit sees freed skb and causes panic
        drivers/net/can/flexcan.c: add missing clk_put
        net: dm9000: Get the chip in a known good state before enabling interrupts
        drivers/net/davinci_emac.c: add missing clk_put
        af-packet: Add flag to distinguish VID 0 from no-vlan.
        caif: Fix race when conditionally taking rtnl lock
        usbnet/cdc_ncm: add missing .reset_resume hook
        vlan: fix typo in vlan_dev_hard_start_xmit()
        net/ipv4: Check for mistakenly passed in non-IPv4 address
        iwl4965: correctly validate temperature value
        bluetooth l2cap: fix locking in l2cap_global_chan_by_psm
        ath9k: fix two more bugs in tx power
        cfg80211: don't drop p2p probe responses
        Revert "net: fix section mismatches"
        drivers/net/usb/catc.c: Fix potential deadlock in catc_ctrl_run()
        sctp: stop pending timers and purge queues when peer restart asoc
        drivers/net: ks8842 Fix crash on received packet when in PIO mode.
        ip_options_compile: properly handle unaligned pointer
        iwlagn: fix incorrect PCI subsystem id for 6150 devices
        ...
      0e833d8c
    • D
      btrfs: fix uninitialized variable warning · aa0467d8
      David Sterba 提交于
      With Linus' tree, today's linux-next build (powercp ppc64_defconfig)
      produced this warning:
      
      fs/btrfs/delayed-inode.c: In function 'btrfs_delayed_update_inode':
      fs/btrfs/delayed-inode.c:1598:6: warning: 'ret' may be used
      uninitialized in this function
      
      Introduced by commit 16cdcec7 ("btrfs: implement delayed inode items
      operation").
      
      This fixes a bug in btrfs_update_inode(): if the returned value from
      btrfs_delayed_update_inode is a nonzero garbage, inode stat data are not
      updated and several call paths may hit a BUG_ON or fail with strange
      code.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NDavid Sterba <dsterba@suse.cz>
      aa0467d8