sdm: Set destination scalar data only when it is required

Set destination scalar data only when the destination scalar data
or flags are changed

Change-Id: I580948a85d891537eca7084b5e4ffcb193395140
CRs-Fixed: 2286619
2 files changed