[PATCH] staging:rtl8723au: core: Fix checkpatch warning

2014-11-11 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Warning by introducing temporary structure. WARNING: line over 80 characters Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 42 1 file changed, 21

[PATCH] staging:rtl8723au: core: fix checkpatch error: that open brace { should be on the previous line

2014-11-11 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: that open brace { should be on the previous line Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 79 +++- 1 file changed, 38 insertions(+),

Re: [PATCH 1/3] staging: unisys: visorchannel: Rename CamelCase variable channelBytes

2014-11-11 Thread Dan Carpenter
You resent this series. Please, send a reply to the thread if you resend something. It helps us keep things sorted. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org

Re: [PATCH] staging: comedi: adl_pci9111: use comedi_async 'scans_done' to detect EOA

2014-11-11 Thread Ian Abbott
On 11/11/14 00:28, H Hartley Sweeten wrote: The comedi core now counts the number of samples added to the async buffer and detects the end-of-scan and increments the comedi_async 'scans_done' counter. Remove the private data member 'stop_counter' and use the 'scans_done' member to detect the

Re: [PATCH 4/4] staging: comedi: adl_pci9118: switch DMA buffers after writing samples

2014-11-11 Thread Ian Abbott
On 11/11/14 00:57, H Hartley Sweeten wrote: Currently the DMA buffers are switched before writing the current samples to the async buffer. This works but when the EOA event happens we end up with an outstanding DMA operation in progress that gets terminated by the (*cancel). Avoid the

Re: [PATCH 00/15] staging: comedi: addi_apci_1564: fix board I/O mapping

2014-11-11 Thread Ian Abbott
On 10/11/14 23:20, H Hartley Sweeten wrote: The APCI-1564 boards do not actually have an AMCC PCI controller. According to ADDI-DATA, the boards have always used an FPGA with a PCI core. Unfortunately, there are two major revisions of the FPGA and they use different I/O mappings. Fix the

[PATCH v7 0/7] dw-hdmi: convert imx hdmi to bridge/dw-hdmi

2014-11-11 Thread Andy Yan
We found freescale imx5 and rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only access

[PATCH v7 2/7] staging: imx-drm: imx-hdmi: return defer if can't get ddc i2c adapter

2014-11-11 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - defer probe ddc i2c adapter Changes in v3: None Changes in v2: None

[PATCH v7 3/7] staging: imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-11 Thread Andy Yan
imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH v7 6/7] drm: bridge/dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-11 Thread Andy Yan
From: Yakir Yang y...@rock-chips.com keep the connector birdge in dw_hdmi.c, handle encoder in dw_hdmi-imx.c Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v7: None Changes in v6: - move some modification from patch#5 Changes in

[PATCH v7 0/7] dw-hdmi: convert imx hdmi to bridge/dw-hdmi

2014-11-11 Thread Andy Yan
We found freescale imx5 and rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only access

[PATCH v7 1/7] staging: imx-drm: imx-hdmi: make checkpatch happy

2014-11-11 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi-vic == 10) || (hdmi-vic == 11) || + (hdmi-vic == 12) || (hdmi-vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi-hdmi_data.video_mode.mdvi) [...] + else { [...]

[PATCH v7 3/7] staging: imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-11 Thread Andy Yan
imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH v7 4/7] staging: imx-drm: imx-hdmi: move imx-hdmi to bridge/dw-hdmi

2014-11-11 Thread Andy Yan
the original imx hdmi driver is under staging/imx-drm, which depends on imx-drm, so move the imx hdmi drvier out to drm/bridge and rename imx-hdmi to dw-hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None

[PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v7: None Changes in v6: - move some modification to patch#6 - refactor

[PATCH v7 6/7] drm: bridge/dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-11 Thread Andy Yan
From: Yakir Yang y...@rock-chips.com keep the connector birdge in dw_hdmi.c, handle encoder in dw_hdmi-imx.c Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v7: None Changes in v6: - move some modification from patch#5 Changes in

[PATCH v7 7/7] dt-bindings: add document for dw-hdmi

2014-11-11 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/drm/bridge/dw-hdmi.txt | 38 ++ 1 file changed, 38 insertions(+) create

Re: [PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Zubair Lutfullah Kakakhel
Hi Andy, This patch adds the reg-io-width binding. Hence the binding patch should come before it. On 11/11/14 12:53, Andy Yan wrote: On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort.

Re: [PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Lucas Stach
Am Dienstag, den 11.11.2014, 14:20 + schrieb Zubair Lutfullah Kakakhel: Hi Andy, This patch adds the reg-io-width binding. Hence the binding patch should come before it. On 11/11/14 12:53, Andy Yan wrote: On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi

Re: [PATCH v7 6/7] drm: bridge/dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-11 Thread Zubair Lutfullah Kakakhel
Hi Andy, On 11/11/14 12:54, Andy Yan wrote: From: Yakir Yang y...@rock-chips.com keep the connector birdge in dw_hdmi.c, handle encoder in dw_hdmi-imx.c Is there a reason for this separation? Keeping encoder in platform files? If yes, then the commit message should explain that.

Re: [PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Zubair Lutfullah Kakakhel
On 11/11/14 14:23, Lucas Stach wrote: Am Dienstag, den 11.11.2014, 14:20 + schrieb Zubair Lutfullah Kakakhel: Hi Andy, This patch adds the reg-io-width binding. Hence the binding patch should come before it. On 11/11/14 12:53, Andy Yan wrote: On rockchip rk3288, only word(32-bit)

Re: [PATCH v7 7/7] dt-bindings: add document for dw-hdmi

2014-11-11 Thread Zubair Lutfullah Kakakhel
Hi Andy, Some minor comments inline. On 11/11/14 12:54, Andy Yan wrote: Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

Re: [PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Andy Yan
On 2014年11月11日 22:20, Zubair Lutfullah Kakakhel wrote: Hi Andy, This patch adds the reg-io-width binding. Hence the binding patch should come before it. do you mean that I should put dts binding patch before this patch? On 11/11/14 12:53, Andy Yan wrote: On rockchip rk3288, only

Re: [PATCH v7 5/7] drm: bridge/dw-hdmi: add support for multi byte register width access

2014-11-11 Thread Zubair Lutfullah Kakakhel
On 11/11/14 14:46, Andy Yan wrote: On 2014年11月11日 22:20, Zubair Lutfullah Kakakhel wrote: Hi Andy, This patch adds the reg-io-width binding. Hence the binding patch should come before it. do you mean that I should put dts binding patch before this patch? Yes. The patch adding

Re: [PATCH v7 6/7] drm: bridge/dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-11 Thread Andy Yan
Hi ZubairLK: On 2014年11月11日 22:36, Zubair Lutfullah Kakakhel wrote: Hi Andy, On 11/11/14 12:54, Andy Yan wrote: From: Yakir Yang y...@rock-chips.com keep the connector birdge in dw_hdmi.c, handle encoder in dw_hdmi-imx.c Is there a reason for this separation? Keeping encoder in platform

Re: [PATCH v7 7/7] dt-bindings: add document for dw-hdmi

2014-11-11 Thread Andy Yan
On 2014年11月11日 22:40, Zubair Lutfullah Kakakhel wrote: Hi Andy, Some minor comments inline. On 11/11/14 12:54, Andy Yan wrote: Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

RE: [PATCH 4/4] staging: comedi: adl_pci9118: switch DMA buffers after writing samples

2014-11-11 Thread Hartley Sweeten
On Tuesday, November 11, 2014 4:35 AM, Ian Abbott wrote: On 11/11/14 00:57, H Hartley Sweeten wrote: Currently the DMA buffers are switched before writing the current samples to the async buffer. This works but when the EOA event happens we end up with an outstanding DMA operation in progress

[PATCH 01/10] staging: unisys: PARSER_CONTEXT_Tag camel case

2014-11-11 Thread Jeffrey
Changed the camel case PARSER_CONTEXT_Tag to parser_context_tag in the files parser.h and parser.c PARSER_CONTEXT_Tag = parser_context_tag Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.c | 2 +- drivers/staging/unisys/visorchipset/parser.h | 2 +-

[PATCH 07/10] staging: unisys: parser_simpleString_get camel case

2014-11-11 Thread Jeffrey
changed the char pointer parser_simpleString_get to parser_simple- string_get in the file parser.h and this affected the file parser.h parser_simpleString_get = parser_simplestring_get Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.c | 2 +-

[PATCH 02/10] staging: unisys: parser_init isLocal camel case

2014-11-11 Thread Jeffrey
Changed the camel case isLocal to islocal in the struct pointer parser_init on line 36 isLocal = islocal Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 03/10] staging: unisys: parser_init tryAgain camel case

2014-11-11 Thread Jeffrey
Changed the camel case tryAgain to tryagain in the struct pointer parser_init on line 36 of parser.h tryAgain = tryagain Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 00/10] parser.h patches

2014-11-11 Thread Jeffrey
This series of patches will take care of all of the checks and warnings in the file parser.h. The patches with the words camel case takes care of the camel casing of a variable in parser.h and the files that calls for that variable. The ones with typedef removes the typedef and fixes any calls to

[PATCH 05/10] staging: unisys: parser_init_byteStream tryAgain camel case

2014-11-11 Thread Jeffrey
Changed the BOOL tryAgain to tryagain in parser_init_byteStream in the file parser.h on line 37 tryAgain = tryagain Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 09/10] staging: unisys: PARSER_CONTEXT typedef

2014-11-11 Thread Jeffrey
Removed typedef declaration for PARSER_CONTEXT on line 34 of parser.h and replaced every instance of PARSER_CONTEXT with struct parser_context_tag because PARSER_CONTEXT is actually parser_context_tag Signed-off-by: Jeffrey jeffrey.br...@unisys.com ---

[PATCH 04/10] staging: unisys: parser_init_byteStream islocal camel case

2014-11-11 Thread Jeffrey
Changed the BOOL isLocal to islocal in parser_init_byteStream in the file parser.h on line 37 isLocal = islocal Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 06/10] staging: unisys: parser_init_byteStream camel case

2014-11-11 Thread Jeffrey
Changed the struct pointer parser_init_byteStream to parser_init_bytestream on line 37 in parser.h, parser.c and visor- chipset_main.c parser_init_byteStream = parser_init_bytestream Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.c| 2

[PATCH 08/10] staging: unisys: parser_byteStream_get camel case

2014-11-11 Thread Jeffrey
Changed the camel case parser_byteStream_get to parser_bytestream_ get in parser.h and this also changed in the file parser.c parser_byteStream = parser_bytestream Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.c | 2 +-

[PATCH 10/10] staging: unisys: PARSER_WHICH_STRING typedef

2014-11-11 Thread Jeffrey
Removed the typedef PARSER_WHICH_STRING in parser.h and added enum in front of it at every instance of the variable in parser.c, and parser.h Signed-off-by: Jeffrey jeffrey.br...@unisys.com --- drivers/staging/unisys/visorchipset/parser.c | 2 +- drivers/staging/unisys/visorchipset/parser.h | 6

Re: [PATCH 1/4] staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA

2014-11-11 Thread Ian Abbott
On 11/11/14 00:57, H Hartley Sweeten wrote: The comedi core now counts the number of samples added to the async buffer and detects the end-of-scan and increments the comedi_async 'scans_done' counter. Remove the private data member 'ai_act_scan' and use the 'scans_done' member to detect the

Re: [PATCH 3/4] staging: comedi: adl_pci9118: use comedi_bytes_to_samples()

2014-11-11 Thread Ian Abbott
On 11/11/14 00:57, H Hartley Sweeten wrote: Remove the assumption of the sample size by using the comedi_bytes_to_samples() helper function to convert the number of bytes to the number of samples. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc:

Re: [PATCH 2/4] staging: comedi: adl_pci9118: absorb move_block_from_dma()

2014-11-11 Thread Ian Abbott
On 11/11/14 00:57, H Hartley Sweeten wrote: Absorb this simple helper function into interrupt_pci9118_ai_dma(). Remove the unnecessary local variables 'sampls' and 'm'. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman

[PATCH net-next] hyperv: Add processing of MTU reduced by the host

2014-11-11 Thread Haiyang Zhang
If the host uses packet encapsulation feature, the MTU may be reduced by the host due to headroom reservation for encapsulation. This patch handles this new MTU value. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc.c |3 ++-

Re: [V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-11 Thread Sean O. Stalley
On Tue, Nov 11, 2014 at 01:38:21PM +0900, Greg KH wrote: On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote: Intel has a whole group of very experienced Linux kernel developers who will review code before you sent it out publicly. Please take advantage of them and run this all

[PATCH 08/30] staging: comedi: dmm32at: tidy up cmd-convert_{src, arg} validation

2014-11-11 Thread H Hartley Sweeten
This driver only supports a single convert_src, TRIG_TIMER. Tidy up the (*do_cmdtest) validation of the cmd-convert_{src,arg}. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 25/30] staging: comedi: dmm32at: rename DMM32AT_INTCLOCK

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Interrupt and A/D Clock Control and Status register. Also, rename the defines for the bits of the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman

[PATCH 04/30] staging: comedi: dmm32at: tidy up dmm32at_ai_rinsn()

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this function to dmm32at_ai_insn_read(). Get the 'chan' and 'range' from the chanspec when declaring the local variables. Remove the unecessary masking of the 'chan'. Remove some unnecessary comments. Change the final return to 'insn-n' to clarify the return value.

[PATCH 05/30] staging: comedi: dmm32at: introduce dmm32at_reset()

2014-11-11 Thread H Hartley Sweeten
For aesthetics, factor the board reset and detection code out of the (*attach) function. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 64

[PATCH 01/30] staging: comedi: dmm32at: make AI (*cancel) actually cancel async command

2014-11-11 Thread H Hartley Sweeten
Currently the AI (*cancel) changes a private data member to cause the interrupt handler to cancel the async command after the next interrupt. Move the code that disables the interrupt and terminates the acquisition from the interrunt handler into dmm32at_ai_cancel() so that the async command is

[PATCH 20/30] staging: comedi: dmm32at: define the FIFO Depth register

2014-11-11 Thread H Hartley Sweeten
This driver currently does not use the FIFO. For completeness, define the offset to the FIFO Depth register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 23/30] staging: comedi: dmm32at: rename DMM32AT_CNTRL

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Miscellaneous Control register. Also, rename the defines for the bits of the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 15/30] staging: comedi: dmm32at: rename DMM32AT_AUXDOUT

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Auxillary Digital Output register. This register is currently not used in the driver. Document the bits of the register for completeness. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg

[PATCH 11/30] staging: comedi: dmm32at: introduce dmm32at_ai_set_chanspec()

2014-11-11 Thread H Hartley Sweeten
Introduce a helper function to set the analog input channel scan and range control registers. Use the new helper in the analog input (*insn_read) and (*do_cmd) functions. The extra sanity checks in the (*do_cmd) are not necessary. The cmd-chanlist will always be valid and the (*do_cmdtest)

[PATCH 13/30] staging: comedi: dmm32at: rename DMM32AT_CONV

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Start A/D Conversion register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 6 +++--- 1 file changed,

[PATCH 21/30] staging: comedi: dmm32at: rename DMM32AT_FIFOCNTRL

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the FIFO Control register. Also, rename the defines used for the bits of this register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 00/30] staging: comedi: dmm32at: cleanup driver

2014-11-11 Thread H Hartley Sweeten
Here's the big cleanup series for the dmm32at comedi driver. H Hartley Sweeten (30): staging: comedi: dmm32at: make AI (*cancel) actually cancel async command staging: comedi: dmm32at: use comedi_async 'scans_done' to detect EOA staging: comedi: dmm32at: introduce dmm32_ai_get_sample()

[PATCH 22/30] staging: comedi: dmm32at: rename DMM32AT_FIFOSTAT

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the FIFO Status register. Define the bits of the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c |

[PATCH 19/30] staging: comedi: dmm32at: rename DMM32AT_DACMSB_CHAN

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used to set the DACH[10] bits in the DAC MSB register to select the D/A channel. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 06/30] staging: comedi: dmm32at: tidy up subdevice initialization

2014-11-11 Thread H Hartley Sweeten
For aesthetics, add some whitespace to the subdevice initialization. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 58 +++-

[PATCH 02/30] staging: comedi: dmm32at: use comedi_async 'scans_done' to detect EOA

2014-11-11 Thread H Hartley Sweeten
Remove the private data member 'ai_scans_left' and use the comedi_async 'scans_done' to detect the end-of-acquisition. This also removes the artifical max limit on the cmd-stop_arg. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg

[PATCH 14/30] staging: comedi: dmm32at: rename DMM32AT_AI[LM]SB

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename these defines used for the A/D LSB/MSB registers. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 8 1 file changed, 4

[PATCH 28/30] staging: comedi: dmm32at: rename DMM32AT_AIRBACK

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Analog I/O Readback register. Define the bits of the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 18/30] staging: comedi: dmm32at: rename DMM32AT_DACSTAT

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Status / Auxillary Digital Inputs register. Document the bits in the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 10/30] staging: comedi: dmm32at: remove unused members of the private data

2014-11-11 Thread H Hartley Sweeten
The 'data' and 'ai_inuse' members in the private data are not used in the driver. Remove them. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 2 -- 1

[PATCH 16/30] staging: comedi: dmm32at: rename DMM32AT_AI{LOW,HIGH}

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename these defines used for the A/D Low/High Channel registers. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 16 1

[PATCH 24/30] staging: comedi: dmm32at: rename DMM32AT_AISTAT

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the A/D Status register. Also, rename the defines for the bits of the register. The probe code in dmm32at_reset() checks this register to make sure the S/D1 and S/D0 bits are set. This check actually verifies that the board is configured (with jumpers

[PATCH 29/30] staging: comedi: dmm32at: tidy up multi-line comments

2014-11-11 Thread H Hartley Sweeten
Reformat the multi-line comments for follow the CodingStyle. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 65 +--- 1 file

[PATCH 17/30] staging: comedi: dmm32at: rename DMM32AT_DAC[LM]SB

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename these defines used for the D/A LSB/MSB registers. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 11 +-- 1 file changed,

[PATCH 03/30] staging: comedi: dmm32at: introduce dmm32_ai_get_sample()

2014-11-11 Thread H Hartley Sweeten
Introduce a helper function to read the two's complement analog input sample from the hardware and munge it to the offset binary (unsigned) format that comedi expects. Use the comedi_offset_munge() helper to munge the data. Use the new helper in the analog input (*insn_read) and in the interrupt

[PATCH 09/30] staging: comedi: dmm32at: remove dmm32at_ns_to_timer()

2014-11-11 Thread H Hartley Sweeten
This function is not necessary. It simply returns the 'ns' value that was passed to it. Remove it as well as the unnecessary Step 4 check of the cmd-convert_arg. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman

[PATCH 26/30] staging: comedi: dmm32at: rename DMM32AT_CNTRDIO

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Counter and Digital I/O Configuration register. Define the bits of the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 12/30] staging: comedi: dmm32at: use 8255 module for Digital I/O subdevice

2014-11-11 Thread H Hartley Sweeten
The Dimond-MM-32-AT board uses an internal 82C55-type digital I/O circuit to provide the 24 digital I/O lines. The only quirk is the need to set the page selection bits in the control register to select page 1 addresses. Instead of duplicating the 8255 code, provide an (*io) callback and use the

[PATCH 30/30] staging: comedi: dmm32at: update the MODULE_DESCRIPTION

2014-11-11 Thread H Hartley Sweeten
Change the MODULE_DESCRIPTION to something more useful than the generic Comedi low-level driver. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/dmm32at.c | 2 +- 1

[PATCH 07/30] staging: comedi: dmm32at: tidy up cmd-scan_begin_{src, arg} validation

2014-11-11 Thread H Hartley Sweeten
This driver only supports a single scan_begin_src, TRIG_TIMER. Tidy up the (*do_cmdtest) validation of the cmd-scan_begin_{src,arg}. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 27/30] staging: comedi: dmm32at: rename DMM32AT_AICONF

2014-11-11 Thread H Hartley Sweeten
For aesthetics, rename this define used for the Analog Configuration register. Define the bits of the register. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 1/4] staging: panel: Reorder initial DEFAULT_* defines

2014-11-11 Thread Mariusz Gorski
Change the order of the initial DEFAULT_* defines so that it matches the Kconfig order. Signed-off-by: Mariusz Gorski marius.gor...@gmail.com --- drivers/staging/panel/panel.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/panel/panel.c

[PATCH 2/4] staging: panel: Reorder DEFAULT_* values redefines

2014-11-11 Thread Mariusz Gorski
Change the order of the DEFAULT_* values redefines so that it matches the Kconfig order. Signed-off-by: Mariusz Gorski marius.gor...@gmail.com --- drivers/staging/panel/panel.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH 3/4] staging: panel: Reorder module parameter declarations

2014-11-11 Thread Mariusz Gorski
Change the order of the module parameter declarations so that it matches the Kconfig order. Signed-off-by: Mariusz Gorski marius.gor...@gmail.com --- drivers/staging/panel/panel.c | 73 ++- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git

[PATCH 0/4] staging: panel: Module parameters clean-up

2014-11-11 Thread Mariusz Gorski
This small set of patches (although it also could be a single patch...) rearranges groups of defines, redefines and module parameter declarations, so that they always appear in the same order defined by Kconfig, which makes it more pleasant to read and understand. It's a preparation for a bigger

[PATCH 4/4] staging: panel: Use better names for two defined values

2014-11-11 Thread Mariusz Gorski
Give DEFAULT_KEYPAD and DEFAULT_LCD defines better names, so that their meaning is emphasized. Signed-off-by: Mariusz Gorski marius.gor...@gmail.com --- drivers/staging/panel/panel.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-11 Thread Greg KH
On Tue, Nov 11, 2014 at 02:42:22PM -0800, Sean O. Stalley wrote: On Tue, Nov 11, 2014 at 01:38:21PM +0900, Greg KH wrote: On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote: Intel has a whole group of very experienced Linux kernel developers who will review code before you

Re: [V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-11 Thread steph
On Wed, Nov 12, 2014 at 10:14:38AM +0900, Greg KH wrote: On Tue, Nov 11, 2014 at 02:42:22PM -0800, Sean O. Stalley wrote: On Tue, Nov 11, 2014 at 01:38:21PM +0900, Greg KH wrote: On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote: Yes, I am holding you to a higher standard

RE: Inconsistent lock state with Hyper-V memory balloon?

2014-11-11 Thread Long Li
Sitsofe, can you try the patch attached to see if it helps with the problem? Long -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Peter Zijlstra Sent: Monday, November 10, 2014 1:44 AM To: Sitsofe Wheeler Cc: KY

[PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-11 Thread Dexuan Cui
In the case the user-space daemon crashes, hangs or is killed, we need to down the semaphore, otherwise, after the daemon starts next time, the obsolete data in fcopy_transaction.message or fcopy_transaction.fcopy_msg will be used immediately. Cc: K. Y. Srinivasan k...@microsoft.com

Re: [PATCH 0/4] staging: panel: Module parameters clean-up

2014-11-11 Thread Willy Tarreau
On Wed, Nov 12, 2014 at 02:08:05AM +0100, Mariusz Gorski wrote: This small set of patches (although it also could be a single patch...) rearranges groups of defines, redefines and module parameter declarations, so that they always appear in the same order defined by Kconfig, which makes it