1. 07 5月, 2015 6 次提交
  2. 15 4月, 2015 1 次提交
  3. 13 4月, 2015 1 次提交
  4. 12 4月, 2015 1 次提交
  5. 11 4月, 2015 9 次提交
    • F
      dmaengine: cppi41: add missing bitfields · ffeb13aa
      Felipe Balbi 提交于
      Add missing directions, residue_granularity,
      srd_addr_widths and dst_addr_widths bitfields.
      
      Without those we will see a kernel WARN()
      when loading musb on am335x devices.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      ffeb13aa
    • C
      ipmi_ssif: Use interruptible completion for waiting in the thread · d0acf734
      Corey Minyard 提交于
      The code was using an normal completion, but that caused stuck
      task errors after a while.  Use an interruptible one to avoid that.
      Signed-off-by: NCorey Minyard <cminyard@mvista.com>
      d0acf734
    • A
      ipmi/powernv: Fix minor locking bug · ad1ed2a9
      Alistair Popple 提交于
      If ipmi_powernv_recv(...) is called without a current message it
      prints a warning and returns. However it fails to release the message
      lock causing the system to dead lock during any subsequent IPMI
      operations.
      
      This error path should never normally be taken unless there are bugs
      elsewhere in the system.
      Signed-off-by: NAlistair Popple <alistair@popple.id.au>
      Signed-off-by: NCorey Minyard <cminyard@mvista.com>
      ad1ed2a9
    • C
      ipmi: Handle BMCs that don't allow clearing the rcv irq bit · 1e7d6a45
      Corey Minyard 提交于
      Some BMCs don't let you clear the receive irq bit in the global
      enables.  This is kind of silly, but they give an error if you
      try to clear it.  Compensate for this by detecting the situation
      and working around it.
      Signed-off-by: NCorey Minyard <cminyard@mvista.com>
      Tested-by: NThomas D <whissi@whissi.de>
      Reviewed-by: NThomas D <whissi@whissi.de>
      1e7d6a45
    • S
      HID: sensor: Custom and Generic sensor support · 4a7de051
      Srinivas Pandruvada 提交于
      HID Sensor Spec defines two usage ids for custom sensors
      
      	HID_USAGE_SENSOR_TYPE_OTHER_CUSTOM (0x09, 0xE1)
      	HID_USAGE_SENSOR_TYPE_OTHER_GENERIC(0x09, 0xE2)
      
      	In addition the standard also defines usage ids for custom fields.
      The purpose of these sensors is to extend the functionality or provide a way to
      obfuscate the data being communicated by a sensor. Without knowing the mapping
      between the data and its encapsulated form, it is difficult for an driver to
      determine what data is being communicated by the sensor.  This allows some
      differentiating use cases, where vendor can provide applications.  Since these
      can't be represented by standard sensor interfaces like IIO, we present these
      as fields with
      
      - type (input/output)
      - units
      - min/max
      - get/set value
      
      In addition an dev interface to transfer report events. Details about this
      interface is described in /Documentation/hid/hid-sensor.txt.  Manufacturers
      should not use these ids for any standard sensors, otherwise the the
      product/vendor id can be added to black list.
      Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Reviewed-by: NJonathan Cameron <jic23@kernel.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      4a7de051
    • M
      iscsi target: fix oops when adding reject pdu · b815fc12
      Mike Christie 提交于
      This fixes a oops due to a double list add when adding a reject PDU for
      iscsit_allocate_iovecs allocation failures. The cmd has already been
      added to the conn_cmd_list in iscsit_setup_scsi_cmd, so this has us call
      iscsit_reject_cmd.
      
      Note that for ERL0 the reject PDU is not actually sent, so this patch
      is not completely tested. Just verified we do not oops. The problem is the
      add reject functions return -1 which is returned all the way up to
      iscsi_target_rx_thread which for ERL0 will drop the connection.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: <stable@vger.kernel.org> # v3.10+
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      b815fc12
    • M
      spi: bcm2835: enabling polling mode for transfers shorter than 30us · 704f32d4
      Martin Sperl 提交于
      In cases of short transfer times the CPU is spending lots of time
      in the interrupt handler and scheduler to reschedule the worker thread.
      
      Measurements show that we have times where it takes 29.32us to between
      the last clock change and the time that the worker-thread is running again
      returning from wait_for_completion_timeout().
      
      During this time the interrupt-handler is running calling complete()
      and then also the scheduler is rescheduling the worker thread.
      
      This time can vary depending on how much of the code is still in
      CPU-caches, when there is a burst of spi transfers the subsequent delays
      are in the order of 25us, so the value of 30us seems reasonable.
      
      With polling the whole transfer of 4 bytes at 10MHz finishes after 6.16us
      (CS down to up) with the real transfer (clock running) taking 3.56us.
      So the efficiency has much improved and is also freeing CPU cycles,
      reducing interrupts and context switches.
      
      Because of the above 30us seems to be a reasonable limit for polling.
      Signed-off-by: NMartin Sperl <kernel@martin.sperl.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      704f32d4
    • M
      spi: bcm2835: transform native-cs to gpio-cs on first spi_setup · a30a555d
      Martin Sperl 提交于
      Transforms the bcm-2835 native SPI-chip select to their gpio-cs equivalent.
      
      This allows for some support of some optimizations that are not
      possible due to HW-gliches on the CS line - especially filling
      the FIFO before enabling SPI interrupts (by writing to CS register)
      while the transfer is already in progress (See commit: e3a2be30)
      
      This patch also works arround some issues in bcm2835-pinctrl which does not
      set the value when setting the GPIO as output - it just sets up output and
      (typically) leaves the GPIO as low.  When a fix for this is merged then this
      gpio_set_value can get removed from bcm2835_spi_setup.
      Signed-off-by: NMartin Sperl <kernel@martin.sperl.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      a30a555d
    • M
      regulator: max8660: Handle empty regulator data · c0cf5a59
      Markus Pargmann 提交于
      It is not necessary to have regulator init data for a regulator. This
      patch removes the necessity of this data and handles a NULL pointer
      properly.
      Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c0cf5a59
  6. 10 4月, 2015 17 次提交
  7. 09 4月, 2015 5 次提交