I'm assuming that the spots you refer to are on the fruitlets themselves.
This is called raspberry white spot. It affects both raspberries and blackberries.
It's believed to be caused by sun scorch on the berry that causes the little droplet to rupture or breakdown internally.
There is no problem as regards eating the fruit...but it does disfigure it for commercial use.