diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-03-04 20:35:24 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-04-05 14:58:34 +0400 |
commit | 5dc63fa2c2e149dd3e8128e54c9ca251d0558ea0 (patch) | |
tree | bd41eea01066cec5f1babbb43c7b839eafed13b6 /COPYING | |
parent | 6b75152bbfce9bed30de44189d6032099c74c855 (diff) | |
download | linux-5dc63fa2c2e149dd3e8128e54c9ca251d0558ea0.tar.xz |
mtd: mtdchar: handle chips that have user otp but no factory otp
Before this patch mtd_read_fact_prot_reg was used to check availability
for both MTD_OTP_FACTORY and MTD_OTP_USER access. This made accessing
user otp for chips that don't have a factory otp area impossible. So use
the right wrapper depending on the intended area to be accessed.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions