]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: Changed version matching rules for MC object drivers
authorJ. German Rivera <German.Rivera@freescale.com>
Fri, 27 Mar 2015 21:01:09 +0000 (16:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:55:03 +0000 (13:55 +0200)
commit3d5e6a70243bf967056f1717679be0ab49ca1f45
tree578b341f63123f1a2da5999a25a68a26dcc182a9
parent7d3ee6715f2d2bbcc3c55f02aa969c9ea1f3d45a
staging: fsl-mc: Changed version matching rules for MC object drivers

Before this change, we were requiring a complete version match (major and
minor version numbers) between MC objects and corresponding drivers, to
allow MC objects to be bound to their drivers. We realized that a mismatch
in minor version numbers should be tolerated, as long as the major version
numbers match. This allows the driver to decide what to do in the minor
version mismatch case. For example, a driver may decide to run with
downgraded functionality if the MC firmware object has older minor version
number than the driver. Also, a driver with older minor version than the
MC firmware object may decide to run even though it cannot use newer
functionality of the MC object.

As part of this change, the dpmng Flib version was also updated
to match the latest MC firmware version.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c
drivers/staging/fsl-mc/include/dpmng.h