[PATCH v2] Staging: fbtft: Fix bug in fbtft-core

2016-10-02 Thread Ksenija Stanojevic
Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is because variable update_time is not assigned correctly. Signed-off-by: Ksenija Stanojevic Fixes: 367e8560e8d7 ("Staging: fbtbt: Replace timespec with ktime_t") --- Changes in

[PATCH] Staging: fbtft: Fix bug in fbtft-core

2016-10-01 Thread Ksenija Stanojevic
Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is because variable update_time is not assigned correctly. Signed-off-by: Ksenija Stanojevic --- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH] Staging: iio: Fix sparse endian warning

2016-03-23 Thread Ksenija Stanojevic
Fix following sparse warning: warning: cast to restricted __be16 Signed-off-by: Ksenija Stanojevic --- drivers/staging/iio/adc/ad7606_spi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7606_spi.c b/drivers/staging/iio/adc/ad7606_spi.c index

[PATCH] iio: adc: Move mxs-lradc out of staging

2016-02-06 Thread Ksenija Stanojevic
Move mxs-lradc driver from drivers/staging/iio/adc to drivers/iio/adc. Signed-off-by: Ksenija Stanojevic --- drivers/iio/adc/Kconfig | 14 + drivers/iio/adc/Makefile|1 + drivers/iio/adc/mxs-lradc.c | 1770 +++ drivers

[PATCH v5] misc: Move panel driver out of staging

2016-02-03 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic Acked-by: Willy Tarreau --- Changes in v5: - relocate the entire section to the appropriate place alphabetically in the MAINTAINER file. Changes in v4: - modify driver

[PATCH v4] misc: Move panel driver out of staging

2016-02-02 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic Acked-by: Willy Tarreau --- Changes in v4: - modify driver location in MAINTAINERS file Changes in v3: - modify driver location in MAINTAINERS file Changes in v2: - modify

[PATCH v3] misc: Move panel driver out of staging

2016-02-02 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic --- Changes in v3: - modify driver location in MAINTAINERS file Changes in v2: - modify MAINTAINERS file - move lcd-panel-cgram.txt to Documentation/ .../misc-devices}/lcd

[PATCH v2] misc: Move panel driver out of staging

2016-02-02 Thread Ksenija Stanojevic
Move panel driver from drivers/staging/panel to drivers/misc. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - modify MAINTAINERS file - move lcd-panel-cgram.txt to Documentation/ .../misc-devices}/lcd-panel-cgram.txt | 1 - MAINTAINERS

[PATCH v2 5/5] Staging: panel: Make code more readable

2016-01-03 Thread Ksenija Stanojevic
Repace 'for' statement by strchr() function to make code more readable. Signed-off-by: Ksenija Stanojevic --- v2: use strchr(). drivers/staging/panel/panel.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/sta

[PATCH v2 4/5] Staging: panel: Reduce value range for *name

2016-01-03 Thread Ksenija Stanojevic
out is 0-9 so it's too much for om, therefore reduce value range for *name from '0'-'9' to '0'-'7'. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH v2 3/5] Staging: panel: Remove ULL

2016-01-03 Thread Ksenija Stanojevic
Remove ULL on om and im, since it's useless. Signed-off-by: Ksenija Stanojevic --- v2: leave ULL on m and v. drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7138ee7..e9

[PATCH v2 2/5] Staging: panel: Remove typedef pmask_t

2016-01-03 Thread Ksenija Stanojevic
Use __u64 instead of pmask_t and remove pmask_t since is useless. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel

[PATCH v2 1/5] Staging: panel: Use u8 type

2016-01-03 Thread Ksenija Stanojevic
Declare om, im, omask and imask as u8 to remove any confusion if that describes the 8 bits of the data bus on the parallel port. Also change return type of lcd_write_data() to u8. Signed-off-by: Ksenija Stanojevic --- v2: nothing drivers/staging/panel/panel.c | 6 +++--- 1 file changed, 3

[PATCH v2 0/5] Staging: panel: TODO fixes

2016-01-03 Thread Ksenija Stanojevic
This patchset is based on checkpatch fixes made by previous patches. Here I tried to address all suggestions made by Dan and Willy. Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (5): Staging: panel: Use u8 type Staging: panel: Remove typedef pmask_t Staging: panel: Remove ULL

[PATCH v2 2/2] Staging: panel: Remove space

2016-01-03 Thread Ksenija Stanojevic
No space is necessary after a cast, therefore remove it. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- Changes in v2: - nothing drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers

[PATCH v2 1/2] Staging: panel: Fix line over 80 characters

2016-01-03 Thread Ksenija Stanojevic
Move statement into line below the comment to follow 80 characters per line rule. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- Changes in v2: - don't split comment in multiline drivers/staging/panel/panel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v2 0/2] Staging: panel: Fix checkpatch warnings

2016-01-03 Thread Ksenija Stanojevic
Fix checkpatch.pl warnings in panel.c Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (2): Staging: panel: Fix line over 80 characters Staging: panel: Remove space drivers/staging/panel/panel.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) -- 1.9.1

[PATCH 5/5] Staging: panel: Make statement more readable

2015-12-29 Thread Ksenija Stanojevic
Broke statement into 3 different lines to make it more readable. Signeded-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 70cb9f3..207d8d5

[PATCH 4/5] Staging: panel: Reduce value range for *name

2015-12-29 Thread Ksenija Stanojevic
out is 0-9 so it's too much for om, therefore reduce value range for *name from '0'-'9' to '0'-'7'. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH 3/5] Staging: panel: Remove ULL

2015-12-29 Thread Ksenija Stanojevic
Remove ULL since it's useless. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7138ee7..6dc3efb 100644 --- a/drivers/st

[PATCH 2/5] Staging: panel: Remove typedef pmask_t

2015-12-29 Thread Ksenija Stanojevic
Use __u64 instead of pmask_t and remove pmask_t since is useless. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c

[PATCH 1/5] Staging: panel: Use u8 type

2015-12-29 Thread Ksenija Stanojevic
Declare om, im, omask and imask as u8 to remove any confusion if that describes the 8 bits of the data bus on the parallel port. Also change return type of lcd_write_data() to u8. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 0/5] Staging: panel: TODO fixes

2015-12-29 Thread Ksenija Stanojevic
This patchset is based on patch sent by Bijosh Thykkoottathil. Here I tried to address all suggestions made by Dan and Willy. Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (5): Staging: panel: Use u8 type Staging: panel: Remove typedef pmask_t Staging: panel: Remove ULL Staging

[PATCH 0/2] Staging: panel: Fix checkpatch warnings

2015-12-28 Thread Ksenija Stanojevic
Fix checkpatch.pl warnings in panel.c Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (2): Staging: panel: Fix line over 80 characters Staging: panel: Remove space drivers/staging/panel/panel.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 1.9.1

[PATCH 2/2] Staging: panel: Remove space

2015-12-27 Thread Ksenija Stanojevic
No space is necessary after a cast, therefore remove it. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7171c5d

[PATCH 1/2] Staging: panel: Fix line over 80 characters

2015-12-27 Thread Ksenija Stanojevic
Split comment in order to fit into 80 characters per line. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index

[PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-05 Thread Ksenija Stanojevic
void *buf Signed-off-by: Ksenija Stanojevic --- drivers/staging/gdm72xx/gdm_wimax.c | 8 drivers/staging/gdm72xx/wm_ioctl.h | 6 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c index b8eea21

[PATCH] Staging: olpc_dcon: Remove braces

2015-10-10 Thread Ksenija Stanojevic
Braces in single statement blocks are not needed. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/olpc_dcon/olpc_dcon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon

[PATCH] Staging: media: lirc: Replace timeval with ktime_t

2015-05-22 Thread Ksenija Stanojevic
appropriate types. Here struct timeval is replaced with ktime_t. Signed-off-by: Ksenija Stanojevic --- drivers/staging/media/lirc/lirc_sir.c | 75 ++- 1 file changed, 30 insertions(+), 45 deletions(-) diff --git a/drivers/staging/media/lirc/lirc_sir.c b/drivers/stagi

[PATCH] Staging: rts5208: Replace timeval with timespec64

2015-04-30 Thread Ksenija Stanojevic
struct timeval tv is used to get current time. 32-bit systems using 'struct timeval' will break in the year 2038, so we have to replace that code with more appropriate types. Signed-off-by: Ksenija Stanojevic Reviewed-by: Arnd Bergmann --- drivers/staging/rts5208/r