video_common: edid: XVidC_EdidGetVpiIdProdCode->XVidC_EdidGetIdProdCode.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-21 11:56:53 -08:00 committed by Nava kishore Manne
parent 1ac0efe730
commit 89b50eecf8
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ static void Edid_Print_BaseVPId(u8 *EdidRaw)
xil_printf("Vendor and product identification:\n");
xil_printf("\tID manufacturer name:\t%s\n", ManName);
xil_printf("\tID product code:\t0x%04lx\n",
XVidC_EdidGetVpiIdProdCode(EdidRaw));
XVidC_EdidGetIdProdCode(EdidRaw));
xil_printf("\tID serial number:\t0x%08lx\n",
XVidC_EditGetVpiSn(EdidRaw));
if (XVidC_EdidIsVpiYearModel(EdidRaw)) {

View file

@ -268,7 +268,7 @@
/* void XVidC_EdidGetManName(u8 *EdidRaw, char ManName[4]); */
/* Vendor and product identification: ID product code. */
#define XVidC_EdidGetVpiIdProdCode(E) \
#define XVidC_EdidGetIdProdCode(E) \
((u16)((E[XVIDC_EDID_VPI_ID_PROD_CODE_MSB] << 8) | \
E[XVIDC_EDID_VPI_ID_PROD_CODE_LSB]))