Home
last modified time | relevance | path

Searched hist:"3 fe4bae88460869a8e553397cd9057a4ee7ca341" (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/mtd/maps/
H A Dsa1100-flash.cdiff 3fe4bae88460869a8e553397cd9057a4ee7ca341 Fri Dec 23 18:25:16 CET 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: introduce mtd_suspend interface

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
H A Dpxa2xx-flash.cdiff 3fe4bae88460869a8e553397cd9057a4ee7ca341 Fri Dec 23 18:25:16 CET 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: introduce mtd_suspend interface

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/linux/drivers/mtd/
H A Dmtdconcat.cdiff 3fe4bae88460869a8e553397cd9057a4ee7ca341 Fri Dec 23 18:25:16 CET 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: introduce mtd_suspend interface

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
H A Dmtdcore.cdiff 1a30871fe635d3e92972e6b93e39ff65bb57e52d Mon Jan 16 10:07:16 CET 2012 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: fix MTD suspend

Commits 3fe4bae88460869a8e553397cd9057a4ee7ca341 and
079c985e7a6f4ce60f931cebfdd5ee3c3 broke MTD suspend in 2 ways:

1. When the '->suspend' method is not present, we return -EOPNOTSUPP, but
the callers of 'mtd_suspend()' expects 0 instead.
2. Checking of the 'mtd' parameter against NULL has been incorrectly removed
in 'mtd_cls_suspend()'.

This patch fixes the breakages. This has been found, analyzed, reported
and tested by Rafael J. Wysocki <rjw@sisk.pl>.

Note, this patch is not needed in the stable tree because it causes a
regression introduced during the v3.3 merge window.

Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff 3fe4bae88460869a8e553397cd9057a4ee7ca341 Fri Dec 23 18:25:16 CET 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: introduce mtd_suspend interface

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
H A Dmtdpart.cdiff 3fe4bae88460869a8e553397cd9057a4ee7ca341 Fri Dec 23 18:25:16 CET 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: introduce mtd_suspend interface

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/linux/include/linux/mtd/
H A Dmtd.hdiff 1a30871fe635d3e92972e6b93e39ff65bb57e52d Mon Jan 16 10:07:16 CET 2012 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: fix MTD suspend

Commits 3fe4bae88460869a8e553397cd9057a4ee7ca341 and
079c985e7a6f4ce60f931cebfdd5ee3c3 broke MTD suspend in 2 ways:

1. When the '->suspend' method is not present, we return -EOPNOTSUPP, but
the callers of 'mtd_suspend()' expects 0 instead.
2. Checking of the 'mtd' parameter against NULL has been incorrectly removed
in 'mtd_cls_suspend()'.

This patch fixes the breakages. This has been found, analyzed, reported
and tested by Rafael J. Wysocki <rjw@sisk.pl>.

Note, this patch is not needed in the stable tree because it causes a
regression introduced during the v3.3 merge window.

Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff 3fe4bae88460869a8e553397cd9057a4ee7ca341 Fri Dec 23 18:25:16 CET 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: introduce mtd_suspend interface

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>