i2c: Fix restart flag in burst read
i2c: Fix restart flag in burst read

The i2c_burst_read function transfers two messages to the I2C device.
The first message writes the internal address of the device, the second
message then reads bytes. A repeated start (restart) is needed to change
the direction from write to read, but the restart flag should be set in
the second message rather than the first.

Change-Id: I7d48de2f4866e3b514f689f41ce5d28eba90c39f
Signed-off-by: Maureen Helm <87a696db5547fa477bda9f9e0f00013c839c14d3@nxp.com>

pklazy/zephyr,erwango/zephyr,explora26/zephyr,punitvara/zephyr,nashif/zephyr,fractalclone/zephyr-riscv,aceofall/zephyr-iotos,runchip/zephyr-cc3200,fbsder/zephyr,bboozzoo/zephyr,nashif/zephyr,ldts/zephyr,sharronliu/zephyr,rsalveti/zephyr,galak/zephyr,explora26/zephyr,Vudentz/zephyr,runchip/zephyr-cc3220,finikorg/zephyr,finikorg/zephyr,zephyriot/zephyr,runchip/zephyr-cc3220,tidyjiang8/zephyr-doc,sharronliu/zephyr,GiulianoFranchetto/zephyr,bigdinotech/zephyr,GiulianoFranchetto/zephyr,mbolivar/zephyr,Vudentz/zephyr,bigdinotech/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,Vudentz/zephyr,fractalclone/zephyr-riscv,kraj/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3220,mbolivar/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,bigdinotech/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,fractalclone/zephyr-riscv,Vudentz/zephyr,tidyjiang8/zephyr-doc,fbsder/zephyr,pklazy/zephyr,kraj/zephyr,runchip/zephyr-cc3220,ldts/zephyr,punitvara/zephyr,runchip/zephyr-cc3200,holtmann/zephyr,zephyriot/zephyr,zephyriot/zephyr,bboozzoo/zephyr,fbsder/zephyr,galak/zephyr,punitvara/zephyr,galak/zephyr,bboozzoo/zephyr,pklazy/zephyr,bboozzoo/zephyr,kraj/zephyr,rsalveti/zephyr,kraj/zephyr,rsalveti/zephyr,runchip/zephyr-cc3200,sharronliu/zephyr,mbolivar/zephyr,pklazy/zephyr,fbsder/zephyr,holtmann/zephyr,zephyrproject-rtos/zephyr,aceofall/zephyr-iotos,punitvara/zephyr,fractalclone/zephyr-riscv,runchip/zephyr-cc3200,explora26/zephyr,kraj/zephyr,aceofall/zephyr-iotos,nashif/zephyr,holtmann/zephyr,finikorg/zephyr,aceofall/zephyr-iotos,erwango/zephyr,galak/zephyr,tidyjiang8/zephyr-doc,runchip/zephyr-cc3220,fractalclone/zephyr-riscv,pklazy/zephyr,fbsder/zephyr,tidyjiang8/zephyr-doc,sharronliu/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,rsalveti/zephyr,bboozzoo/zephyr,mbolivar/zephyr,punitvara/zephyr,sharronliu/zephyr,rsalveti/zephyr,GiulianoFranchetto/zephyr,aceofall/zephyr-iotos,nashif/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,runchip/zephyr-cc3200,finikorg/zephyr,bigdinotech/zephyr,erwango/zephyr,holtmann/zephyr,erwango/zephyr,zephyriot/zephyr,zephyriot/zephyr,ldts/zephyr,explora26/zephyr,tidyjiang8/zephyr-doc,bigdinotech/zephyr,nashif/zephyr,erwango/zephyr,holtmann/zephyr,ldts/zephyr,mbolivar/zephyr,finikorg/zephyr