Add the NWZ-A844 to the database

For some reason even Sony didn't have it in its list...

Change-Id: I26de6071e5887cc7c6ebb695ea333c7b3d1b50db
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index dc4c23c..811aa71 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -88,6 +88,7 @@
     { 0x6030002, "NW-S744" },
     { 0x6030004, "NW-S745" },
     { 0x6030005, "NW-S746" },
+    { 0x7000002, "NWZ-A844" },
     { 0x7000004, "NWZ-A845" },
     { 0x7000005, "NWZ-A846" },
     { 0x7000006, "NWZ-A847" },
@@ -1799,8 +1800,8 @@
 static unsigned long models_nwz_a820[] = { 0x3010001, 0x3010002, 0x3010004,
     0x3000001, 0x3000002, 0x3000004 };
 
-static unsigned long models_nwz_a840[] = { 0x7010004, 0x7010005, 0x7010006,
-    0x7000004, 0x7000005, 0x7000006 };
+static unsigned long models_nwz_a840[] = { 0x7000002, 0x7010004, 0x7010005,
+    0x7010006, 0x7000004, 0x7000005, 0x7000006 };
 
 static unsigned long models_nwz_a850[] = { 0xe000004, 0xe000005, 0xe000006 };
 
@@ -1894,7 +1895,7 @@
     { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 },
     { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, &nvp_index_342a18 },
     { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 },
-    { "nwz-a840", "NWZ-A840 Series", 6, models_nwz_a840, &nvp_index_0ac81d },
+    { "nwz-a840", "NWZ-A840 Series", 7, models_nwz_a840, &nvp_index_0ac81d },
     { "nwz-a850", "NWZ-A850 Series", 3, models_nwz_a850, &nvp_index_0ac81d },
     { "nwz-a860", "NWZ-A860 Series", 15, models_nwz_a860, &nvp_index_f505c8 },
     { "nw-a910", "NW-A910 Series", 3, models_nw_a910, 0 },
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h
index 1fe383b..fa76cd8 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.h
+++ b/firmware/target/hosted/sonynwz/nwz-db.h
@@ -157,7 +157,7 @@
 /* Invalid NVP index */
 #define NWZ_NVP_INVALID     -1 /* Non-existent entry */
 /* Number of models */
-#define NWZ_MODEL_COUNT     192
+#define NWZ_MODEL_COUNT     193
 /* Number of series */
 #define NWZ_SERIES_COUNT    39
 
diff --git a/utils/nwztools/database/models.txt b/utils/nwztools/database/models.txt
index f691a6d..bc83d88 100644
--- a/utils/nwztools/database/models.txt
+++ b/utils/nwztools/database/models.txt
@@ -62,6 +62,7 @@
 0x6030002,NW-S744
 0x6030004,NW-S745
 0x6030005,NW-S746
+0x7000002,NWZ-A844
 0x7000004,NWZ-A845
 0x7000005,NWZ-A846
 0x7000006,NWZ-A847
diff --git a/utils/nwztools/database/series.txt b/utils/nwztools/database/series.txt
index d914588..33db68d 100644
--- a/utils/nwztools/database/series.txt
+++ b/utils/nwztools/database/series.txt
@@ -6,7 +6,7 @@
 nwz-a720,NWZ-A720 Series,0x3030001,0x3030002,0x3030004,0x3020001,0x3020002,0x3020004
 nwz-a810,NWZ-A810 Series,0x10000,0x10001,0x10002
 nwz-a820,NWZ-A820 Series,0x3010001,0x3010002,0x3010004,0x3000001,0x3000002,0x3000004
-nwz-a840,NWZ-A840 Series,0x7010004,0x7010005,0x7010006,0x7000004,0x7000005,0x7000006
+nwz-a840,NWZ-A840 Series,0x7000002,0x7010004,0x7010005,0x7010006,0x7000004,0x7000005,0x7000006
 nwz-a850,NWZ-A850 Series,0xe000004,0xe000005,0xe000006
 nwz-a860,NWZ-A860 Series,0x11000001,0x11000002,0x11000004,0x11000005,0x11000006,0x11010001,0x11010002,0x11010004,0x11010005,0x11010006,0x11020001,0x11020002,0x11020004,0x11020005,0x11020006
 nw-a910,NW-A910 Series,0x2000001,0x2000002,0x2000004