14 Jan, 2016
1 commit
-
WARNING: Possible unnecessary 'out of memory' message
+ if (!davinci_vc) {
+ dev_dbg(&pdev->dev,total: 0 errors, 1 warnings, 154 lines checked
Signed-off-by: Lee Jones
22 Jan, 2015
1 commit
-
The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const.Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Lee Jones
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
02 Sep, 2013
2 commits
-
This will be used to support refactoring of the ASoC CODEC driver to use
a regmap.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz -
These functions are not referenced anywhere, nor prototyped, so just
remove them.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
19 Jun, 2013
1 commit
-
devm_* APIs are device managed and make code simpler.
Signed-off-by: Sachin Kamat
Signed-off-by: Lee Jones
13 Jun, 2013
1 commit
-
Signed-off-by: Lee Jones
Signed-off-by: Samuel Ortiz
06 Apr, 2013
1 commit
-
This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.Signed-off-by: Jingoo Han
Signed-off-by: Samuel Ortiz
29 Nov, 2012
2 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Cc: Srinidhi Kasagar
Cc: Peter Tyser
Cc: Daniel Walker
Cc: Bryan Huntsman
Acked-by: David Brown
Acked-by: Linus Walleij
Acked-by: Mark Brown
Signed-off-by: Greg Kroah-Hartman -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Cc: Srinidhi Kasagar
Cc: Peter Tyser
Cc: Daniel Walker
Cc: Bryan Huntsman
Acked-by: David Brown
Acked-by: Linus Walleij
Acked-by: Mark Brown
Signed-off-by: Greg Kroah-Hartman
16 Sep, 2012
1 commit
-
Currently the MFD core supports remapping MFD cell interrupts using an
irqdomain but only if the MFD is being instantiated using device tree
and only if the device tree bindings use the pattern of registering IPs
in the device tree with compatible properties. This will be actively
harmful for drivers which support non-DT platforms and use this pattern
for their DT bindings as it will mean that the core will silently change
remapping behaviour and it is also limiting for drivers which don't do
DT with this particular pattern. There is also a potential fragility if
there are interrupts not associated with MFD cells and all the cells are
omitted from the device tree for some reason.Instead change the code to take an IRQ domain as an optional argument,
allowing drivers to take the decision about the parent domain for their
interrupts. The one current user of this feature is ab8500-core, it has
the domain lookup pushed out into the driver.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
27 May, 2011
1 commit
-
With the addition of a platform device mfd_cell pointer, MFD drivers
can go back to passing platform back to their sub drivers.
This allows for an mfd_cell->mfd_data removal and thus keep the
sub drivers MFD agnostic. This is mostly needed for non MFD aware
sub drivers.Cc: Miguel Aguilar
Cc: Mark Brown
Cc: Liam Girdwood
Signed-off-by: Samuel Ortiz
23 Mar, 2011
1 commit
-
Use mfd_data for passing information from mfd drivers to soc
clients. The mfd_cell's driver_data field is being phased out.Clients that were using driver_data now access .mfd_data
via mfd_get_data().Signed-off-by: Andres Salomon
Acked-by: Mark Brown
Signed-off-by: Samuel Ortiz
02 Mar, 2011
1 commit
-
Fix the device name in DaVinci Voice Codec MFD driver to load
davinci-vcif and cq93vc codec client drivers.Signed-off-by: Manjunathappa, Prakash
Acked-by: Liam Girdwood
Signed-off-by: Samuel Ortiz
12 Aug, 2010
1 commit
-
Error handling code following a kmalloc should free the allocated data.
The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)//
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,f1,l;
position p1,p2;
expression *ptr != NULL;
@@x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
...
if (x == NULL) S
}
(
x->f1 = E
|
(x->f1 == NULL || ...)
|
f(...,x->f1,...)
)
...>
(
return \(0\|\|ptr\);
|
return@p2 ...;
)@script:python@
p1 << r.p1;
p2 << r.p2;
@@print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
//Signed-off-by: Julia Lawall
Signed-off-by: Samuel Ortiz
03 Apr, 2010
1 commit
-
Implicit slab.h inclusion via percpu.h is about to go away. Make sure
gfp.h or slab.h is included as necessary.Signed-off-by: Tejun Heo
Acked-by: Samuel Ortiz
Signed-off-by: Mark Brown
12 Mar, 2010
1 commit
-
This is the MFD driver for the DaVinci Voice codec, it has two clients:
* Voice codec interface
* Voice codec CQ93VCSigned-off-by: Miguel Aguilar
Acked-by: Samuel Ortiz
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown