1. 28 1月, 2014 1 次提交
  2. 26 1月, 2014 2 次提交
  3. 20 1月, 2014 15 次提交
  4. 13 1月, 2014 4 次提交
  5. 09 1月, 2014 1 次提交
  6. 08 1月, 2014 3 次提交
  7. 19 12月, 2013 2 次提交
  8. 18 12月, 2013 1 次提交
  9. 16 12月, 2013 11 次提交
    • V
      dmaengine: mmp: fix uninitialized variable · a9ebbcd9
      Vinod Koul 提交于
      drivers/dma/mmp_tdma.c:236:8: warning: 'tdcr' may be used
      uninitialized in this function [-Wuninitialized]
      Reported-by: NDan Williams <dan.j.williams@intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      a9ebbcd9
    • V
      dmaengine: mmp_tdma: fix the 'pointer from integer' warnings · 9d0f1fa6
      Vinod Koul 提交于
      the driver is using unsigned long type for storing the channel register base
      "reg_base", this leads to bunch of warns when we try to use this as pointer. So
      better use an iomem pointer type for this variable
      
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_chan_set_desc':
      drivers/dma/mmp_tdma.c:143: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:144: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:144: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_enable_chan':
      drivers/dma/mmp_tdma.c:151: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:153: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:153: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_disable_chan':
      drivers/dma/mmp_tdma.c:160: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:160: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:164: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_resume_chan':
      drivers/dma/mmp_tdma.c:171: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:171: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_pause_chan':
      drivers/dma/mmp_tdma.c:178: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:178: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_config_chan':
      drivers/dma/mmp_tdma.c:263: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c: In function 'mmp_tdma_clear_chan_irq':
      drivers/dma/mmp_tdma.c:269: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast
      drivers/dma/mmp_tdma.c:274: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      9d0f1fa6
    • J
      mmp_pdma: Style neatening · 2b7f65b1
      Joe Perches 提交于
      Neaten code used as a template for other drivers.
      Make the code more consistent with kernel styles.
      
      o Convert #defines with (1<<foo) to BIT(foo)
      o Alignment wrapping
      o Logic inversions to put return at end of functions
      o Convert devm_kzalloc with multiply to devm_kcalloc
      o typo of Peripheral fix
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      2b7f65b1
    • N
      ASoC: fsl_ssi: Add dual fifo mode support · 0da9e55e
      Nicolin Chen 提交于
      By enabling dual fifo mode, it would allow SSI enter a better performance
      to transimit/receive data without occasional hardware underrun/overrun.
      Signed-off-by: NNicolin Chen <b42378@freescale.com>
      Acked-by: NTimur Tabi <timur@tabi.org>
      Acked-by: NMark Brown <broonie@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      0da9e55e
    • N
      ARM: dts: imx: use dual-fifo sdma script for ssi · b1d27c79
      Nicolin Chen 提交于
      Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
      Signed-off-by: NNicolin Chen <b42378@freescale.com>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      b1d27c79
    • N
      dma: imx-sdma: Add new dma type for ssi dual fifo script · 1a895578
      Nicolin Chen 提交于
      This patch adds a new DMA_TYPE for SSI dual FIFO script, included
      in SDMA firmware version 2. This script would allow SSI use dual
      fifo mode to transimit/receive data without occasional hardware
      underrun/overrun.
      Signed-off-by: NNicolin Chen <b42378@freescale.com>
      Acked-by: NKumar Gala <galak@codeaurora.org>
      Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      1a895578
    • N
      dma: imx-sdma: Add sdma firmware version 2 support · cd72b846
      Nicolin Chen 提交于
      On i.MX5/6 series, SDMA is using new version firmware to support SSI
      dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
      Signed-off-by: NNicolin Chen <b42378@freescale.com>
      Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      cd72b846
    • L
      dma: pl330: Alloc dma_parms for the dma device · b714b84e
      Lars-Peter Clausen 提交于
      In order to be able to set a maximum segment size for the device we need to
      allocate a dma_parameters struct for the device first.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      b714b84e
    • L
      Linux 3.13-rc4 · 319e2e3f
      Linus Torvalds 提交于
      319e2e3f
    • M
      null_blk: mem garbage on NUMA systems during init · 57053d8c
      Matias Bjorling 提交于
      For NUMA systems, initializing the blk-mq layer and using per node hctx.
      We initialize submit queues to 1, while blk-mq nr_hw_queues is
      initialized to the number of NUMA nodes.
      
      This makes the null_init_hctx function overwrite memory outside of what
      it allocated.  In my case it lead to writing garbage into struct
      request_queue's mq_map.
      Signed-off-by: NMatias Bjorling <m@bjorling.me>
      Cc: Jens Axboe <axboe@kernel.dk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      57053d8c
    • S
      radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh() · e4158f1b
      Sergey Senozhatsky 提交于
      Since commit ec39f64b ("drm/radeon/dpm: Convert to use
      devm_hwmon_register_with_groups") radeon_hwmon_init() is using
      hwmon_device_register_with_groups(), which sets `rdev' as a device
      private driver_data, while hwmon_attributes_visible() and
      radeon_hwmon_show_temp_thresh() are still waiting for `drm_device'.
      
      Fix them by using dev_get_drvdata(), in order to avoid this oops:
      
        BUG: unable to handle kernel paging request at 0000000000001e28
        IP: [<ffffffffa02ae8b4>] hwmon_attributes_visible+0x18/0x3d [radeon]
        PGD 15057e067 PUD 151a8e067 PMD 0
        Oops: 0000 [#1] PREEMPT SMP
        Call Trace:
          internal_create_group+0x114/0x1d9
          sysfs_create_group+0xe/0x10
          sysfs_create_groups+0x22/0x5f
          device_add+0x34f/0x501
          device_register+0x15/0x18
          hwmon_device_register_with_groups+0xb5/0xed
          radeon_hwmon_init+0x56/0x7c [radeon]
          radeon_pm_init+0x134/0x7e5 [radeon]
          radeon_modeset_init+0x75f/0x8ed [radeon]
          radeon_driver_load_kms+0xc6/0x187 [radeon]
          drm_dev_register+0xf9/0x1b4 [drm]
          drm_get_pci_dev+0x98/0x129 [drm]
          radeon_pci_probe+0xa3/0xac [radeon]
          pci_device_probe+0x6e/0xcf
          driver_probe_device+0x98/0x1c4
          __driver_attach+0x5c/0x7e
          bus_for_each_dev+0x7b/0x85
          driver_attach+0x19/0x1b
          bus_add_driver+0x104/0x1ce
          driver_register+0x89/0xc5
          __pci_register_driver+0x58/0x5b
          drm_pci_init+0x86/0xea [drm]
          radeon_init+0x97/0x1000 [radeon]
          do_one_initcall+0x7f/0x117
          load_module+0x1583/0x1bb4
          SyS_init_module+0xa0/0xaf
      Signed-off-by: NSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Alexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e4158f1b