Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d701d3bb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mtd: msm_qpic_nand: Fix flash density calculation"

parents d142b01e 5fb20a83
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -855,6 +855,7 @@ static int msm_nand_flash_onfi_probe(struct msm_nand_info *info)
					flash->pagesize;
	flash->oobsize  = onfi_param_page_ptr->number_of_spare_bytes_per_page;
	flash->density  = onfi_param_page_ptr->number_of_blocks_per_logical_unit
				* onfi_param_page_ptr->number_of_logical_units
					* flash->blksize;
	flash->ecc_correctability = onfi_param_page_ptr->
					number_of_bits_ecc_correctability;