[PATCH] [staging] bcm: fix code style

2014-07-27 Thread Zahari Doychev
this patch fixes some errors and warnings reported by checkpatch.pl Signed-off-by: Zahari Doychev --- drivers/staging/bcm/PHSModule.h | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/staging/bcm/PHSModule.h b/drivers/staging/bcm/PHSModule.h

[PATCH 2/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
This patch fixes the following warnings: socklnd_cb.c:134:39: warning: incorrect type in assignment (different address spaces) socklnd_cb.c:134:39:expected void [noderef] *iov_base socklnd_cb.c:134:39:got void * Signed-off-by: Zahari Doychev --- drivers/staging/lustre/lnet/klnds

[PATCH 0/2] fix some sparse warnings in lustre

2014-11-24 Thread Zahari Doychev
The two patches fix several sparse warning in the lustre module. Zahari Doychev (2): [drivers] staging/lustre: fix sparse warnings [drivers] staging/lustre: fix sparse warnings drivers/staging/lustre/include/linux/lnet/lib-lnet.h | 14 +- drivers/staging/lustre/lnet/klnds

[PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
This patch fixes the following sparse warnings: lib-lnet.h:787:47: warning: incorrect type in initializer (different address spaces) lib-lnet.h:787:47:expected void [noderef] *iov_base lib-lnet.h:787:47:got void *dest Signed-off-by: Zahari Doychev --- drivers/staging/lustre/include

Re: [PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
On Tue, Nov 25, 2014 at 02:40:36AM +0300, Dan Carpenter wrote: > On Mon, Nov 24, 2014 at 07:55:41PM +0100, Zahari Doychev wrote: > > --- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h > > +++ b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h > > @@ -784,7 +784,8

[PATCH] staging: lustre: fix pointer declarations

2014-11-25 Thread Zahari Doychev
] *iov_base lib-lnet.h:819:48:got void *src lib-lnet.h:808:47: warning: incorrect type in initializer (different address spaces) lib-lnet.h:808:47:expected void [noderef] *iov_base lib-lnet.h:808:47:got void *src Signed-off-by: Zahari Doychev --- drivers/staging/lustre/include/linux

[PATCH v2] staging: lustre: fix pointer declarations

2014-11-25 Thread Zahari Doychev
-lnet.h:808:47:expected void [noderef] *iov_base lib-lnet.h:808:47:got void *src Signed-off-by: Zahari Doychev --- drivers/staging/lustre/include/linux/lnet/lib-lnet.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/include/linux

[PATCH] drivers: base: fw: fix ret value when loading fw

2015-03-09 Thread Zahari Doychev
_request_firmware_load. When the completion is ready the return value is set to zero. Signed-off-by: Zahari Doychev --- drivers/base/firmware_class.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 6c5c9ed..9642e5f 100644 --- a/drivers/base

[PATCH] fix loading of firmware with user mode helper

2015-03-09 Thread Zahari Doychev
This patch fixes loading of firmware when using the user mode helper. I have seen the problems with the coda driver. Using this patch the coda driver loads without any problems. Please check if this is the right way to fix the problem. Zahari Doychev (1): drivers: base: fw: fix ret value when

[PATCH v2] drivers: base: fw: fix ret value when loading fw

2015-03-10 Thread Zahari Doychev
_request_firmware_load. When the completion is ready the return value is set to zero. Signed-off-by: Zahari Doychev --- Changes from v1: - move handling of wait_for_completion_interruptible_timeout() return value drivers/base/firmware_class.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base

Re: [PATCH v2] drivers: base: fw: fix ret value when loading fw

2015-03-18 Thread Zahari Doychev
On Tue, Mar 10, 2015 at 10:45:40AM +0100, Zahari Doychev wrote: > When using the user mode helper to load firmwares the function > _request_firmware > gets a positive return value from fw_load_from_user_helper and because of this > the firmware buffer is not assigned. This happens o

[RFC PATCH 0/5] add support for DMO embedded controller

2016-10-27 Thread Zahari Doychev
two addressing modes: linear and indexed. The driver adds support for the following functionality: - i2c - gpio - watchdog - running time meter (rtm) Zahari Doychev (5): dmec: add DMO mfd driver i2c-dmec: add i2c bus support for dmec gpio-dmec: gpio support for dmec wdt-dmec: watchdog

[RFC PATCH 1/5] dmec: add DMO mfd driver

2016-10-27 Thread Zahari Doychev
This is a core mfd driver for the on board embedded controllers found on the Data Modul embedded CPU modules. The embedded controller may provide the following functions: i2c bus, gpio, watchdog, uart and rtm. Signed-off-by: Zahari Doychev --- drivers/staging/Kconfig | 2 +- drivers

[RFC PATCH 4/5] wdt-dmec: watchdog support for dmec

2016-10-27 Thread Zahari Doychev
This is support for the watchdog found on the Data Modul embedded boards. Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig| 11 +- drivers/staging/dmec/Makefile | 1 +- drivers/staging/dmec/wdt-dmec.c | 569 +- 3 files changed, 581

[RFC PATCH 5/5] rtm-dmec: running time meter support

2016-10-27 Thread Zahari Doychev
This is support for the running time meter(RTM) found on the Data Modul embedded boards. Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig| 10 ++- drivers/staging/dmec/Makefile | 1 +- drivers/staging/dmec/rtm-dmec.c | 203 +- 3 files

[RFC PATCH 2/5] i2c-dmec: add i2c bus support for dmec

2016-10-27 Thread Zahari Doychev
This is support for the i2c bus functionality of the Data Modul embedded controllers. Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig| 10 +- drivers/staging/dmec/Makefile | 1 +- drivers/staging/dmec/dmec.h | 9 +- drivers/staging/dmec/i2c-dmec.c | 524

[RFC PATCH 3/5] gpio-dmec: gpio support for dmec

2016-10-27 Thread Zahari Doychev
This is support for the gpio functionality found on the Data Modul embedded controllers Signed-off-by: Zahari Doychev --- drivers/staging/dmec/Kconfig | 10 +- drivers/staging/dmec/Makefile| 1 +- drivers/staging/dmec/dmec.h | 5 +- drivers/staging/dmec/gpio-dmec.c | 390

Re: [RFC PATCH 0/5] add support for DMO embedded controller

2016-10-27 Thread Zahari Doychev
On Thu, Oct 27, 2016 at 05:01:51PM +0200, Greg KH wrote: > On Thu, Oct 27, 2016 at 12:47:11PM +0200, Zahari Doychev wrote: > > This patch series adds support for the Data Modul Embedded Controller(dmec) > > which is implemented within an on board FPGA found on Data Modul embedded

Re: [RFC PATCH 3/5] gpio-dmec: gpio support for dmec

2016-10-31 Thread Zahari Doychev
On Sat, Oct 29, 2016 at 11:05:29AM +0200, Linus Walleij wrote: > On Thu, Oct 27, 2016 at 12:47 PM, Zahari Doychev > wrote: > > > This is support for the gpio functionality found on the Data Modul embedded > > controllers > > > > Signed-off-by: Zahari Doychev